mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
chore: remove await from sync exec method in publish script (#5624)
This commit is contained in:
parent
56d5c0c548
commit
f831126e27
@ -282,9 +282,9 @@ export default class Package {
|
|||||||
return this.build(true)
|
return this.build(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
async publish(tag = 'latest') {
|
publish(tag = 'latest') {
|
||||||
this.logger.info(`publishing ${this.pkg.name}@${this.pkg.version} with tag ${tag}`)
|
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 = []) {
|
copyFieldsFrom(source, fields = []) {
|
||||||
|
Loading…
Reference in New Issue
Block a user