mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
fix: nuxt-edge publish path
This commit is contained in:
parent
46de9625e0
commit
0ac8e74bd5
@ -56,7 +56,9 @@ class NuxtEdgePublisher {
|
|||||||
console.log(`publishing ${p.name}@${p.version} with tag ${tag}`)
|
console.log(`publishing ${p.name}@${p.version} with tag ${tag}`)
|
||||||
|
|
||||||
// Do publish
|
// Do publish
|
||||||
const { status, output } = spawnSync('npm', `publish --tag ${tag}`.split(' '))
|
const { status, output } = spawnSync('npm', `publish --tag ${tag}`.split(' '), {
|
||||||
|
cwd: resolve(__dirname, '..', module)
|
||||||
|
})
|
||||||
|
|
||||||
// eslint-disable-next-line no-console
|
// eslint-disable-next-line no-console
|
||||||
console.log(String(output.concat('\n')).trim())
|
console.log(String(output.concat('\n')).trim())
|
||||||
|
Loading…
Reference in New Issue
Block a user