fix
This commit is contained in:
parent
0069133046
commit
99318cf113
3 changed files with 6 additions and 0 deletions
3
package-lock.json
generated
3
package-lock.json
generated
|
@ -12,6 +12,9 @@
|
|||
"form-data": "^4.0.0",
|
||||
"node-fetch": "^3.2.10",
|
||||
"path": "^0.12.7"
|
||||
},
|
||||
"bin": {
|
||||
"gitea-release": "upload.js"
|
||||
}
|
||||
},
|
||||
"node_modules/asynckit": {
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
"files": [
|
||||
"upload.js"
|
||||
],
|
||||
"bin": "upload.js",
|
||||
"author": "jusax23",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
2
upload.js
Normal file → Executable file
2
upload.js
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import fs from "fs";
|
||||
import fetch from "node-fetch";
|
||||
import FormData from "form-data";
|
||||
|
|
Loading…
Reference in a new issue