Some improvements for the CLI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm
2020-08-02 23:40:12 +02:00
parent d56f0bcbea
commit bcb3e16f9d
5 changed files with 12 additions and 4 deletions

View File

@ -58,7 +58,7 @@ export default async function publish() {
.then((res) =>
res.status === 200
? res.json()
: Promise.reject(new Error("res.statusText"))
: Promise.reject(new Error(res.statusText))
)
.then((res) => {
if (!res.success) {