提交 235f8cce 编写于 作者: sinat_25235033's avatar sinat_25235033

fix RequestError: The body, json and form options are mutually exclusive

上级 ea53f4aa
......@@ -60,7 +60,7 @@ jobs:
````
## Rendering
## DEMO
![action-sample](dist/action-sample.png)
......
{
"name": "typescript-action",
"version": "0.0.0",
"name": "issues-translator",
"version": "2.1.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -1761,6 +1761,14 @@
"defer-to-connect": "^2.0.0"
}
},
"@tomsun28/google-translate-api": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@tomsun28/google-translate-api/-/google-translate-api-1.1.2.tgz",
"integrity": "sha512-PH99cvXVS/daDUDO9fT9UxIj1vgMny/Ol0vwNJRcB7srEU3+/P23bW29WFCeKstviRaoFgCR2LUAW4eOkubxyg==",
"requires": {
"got": "^11.1.1"
}
},
"@types/babel__core": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.3.tgz",
......
import * as core from '@actions/core'
import * as github from '@actions/github'
import * as webhook from '@octokit/webhooks'
import translate from '@k3rn31p4nic/google-translate-api'
import translate from '@tomsun28/google-translate-api'
let franc = require('franc-min')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册