Merge pull request #409 from wraith13/patch-1

Modifying messages to match the current situation
This commit is contained in:
João Moreno 2020-01-13 12:21:13 +01:00 committed by GitHub
commit 2844e5bed5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@ async function _publish(packagePath: string, pat: string, manifest: Manifest): P
return promise
.catch(err => Promise.reject(err.statusCode === 409 ? `${fullName} already exists.` : err))
.then(() => log.done(`Published ${fullName}\nYour extension will live at ${getPublishedUrl(name)} (might take a few seconds for it to show up).`));
.then(() => log.done(`Published ${fullName}\nYour extension will live at ${getPublishedUrl(name)} (might take a few minutes for it to show up).`));
})
.catch(err => {
const message = err && err.message || '';