fix RequestError: The body, json and form options are mutually exclusive (#40)

This commit is contained in:
tomsun28
2021-01-16 17:07:57 +08:00
committed by GitHub
parent ea53f4aa60
commit d9591c2d28
4 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
````
## Rendering
## DEMO
![action-sample](dist/action-sample.png)
+10 -2
View File
@@ -1,6 +1,6 @@
{
"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",
+1
View File
@@ -29,6 +29,7 @@
"@actions/github": "^4.0.0",
"@k3rn31p4nic/google-translate-api": "^1.1.1",
"@octokit/webhooks": "^7.15.1",
"@tomsun28/google-translate-api": "^1.1.2",
"franc-min": "^5.0.0"
},
"devDependencies": {
+1 -1
View File
@@ -1,7 +1,7 @@
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')