chore: remove await from sync exec method in publish script (#5624)

This commit is contained in:
Xin Du (Clark) 2019-04-29 16:06:55 +01:00 committed by Pooya Parsa
parent 56d5c0c548
commit f831126e27
1 changed files with 2 additions and 2 deletions

View File

@ -282,9 +282,9 @@ export default class Package {
return this.build(true)
}
async publish(tag = 'latest') {
publish(tag = 'latest') {
this.logger.info(`publishing ${this.pkg.name}@${this.pkg.version} with tag ${tag}`)
await this.exec('npm', `publish --tag ${tag}`)
this.exec('npm', `publish --tag ${tag}`)
}
copyFieldsFrom(source, fields = []) {