unminify to debug

This commit is contained in:
softprops 2021-08-07 18:39:31 -04:00
parent d9cc08588c
commit 8b7cadcf54
3 changed files with 15021 additions and 2 deletions

15020
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
"description": "GitHub Action for creating GitHub Releases",
"main": "lib/main.js",
"scripts": {
"build": "ncc build src/main.ts --minify",
"build": "ncc build src/main.ts",
"test": "jest",
"fmt": "prettier --write \"src/**/*.ts\" \"__tests__/**/*.ts\"",
"fmtcheck": "prettier --check \"src/**/*.ts\" \"__tests__/**/*.ts\""

View file

@ -136,6 +136,7 @@ export const upload = async (
console.log(`⬆️ Uploading ${name}...`);
const endpoint = new URL(url);
endpoint.searchParams.append("name", name);
console.log(`url`, endpoint);
const resp = await fetch(endpoint, {
headers: {
"content-length": `${size}`,