mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-10 10:44:19 +00:00
fix upload err fmt
This commit is contained in:
parent
2956b0de81
commit
6c87482fb9
3 changed files with 6 additions and 2 deletions
|
@ -167,7 +167,7 @@ export const upload = async (
|
|||
const json = await resp.json();
|
||||
if (resp.status !== 201) {
|
||||
throw new Error(
|
||||
"Failed to upload release asset ${name}. recieved status code ${resp.status}\n${json.message}\n${json.errors}"
|
||||
`Failed to upload release asset ${name}. recieved status code ${resp.status}\n${json.message}\n${json.errors}`
|
||||
);
|
||||
}
|
||||
return json;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue