mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
add es-lint no-console
This commit is contained in:
parent
09e637cf4b
commit
a42cda8db4
2
bin/nuxt
2
bin/nuxt
@ -27,6 +27,6 @@ const bin = join(__dirname, 'nuxt-' + cmd)
|
|||||||
const proc = spawn(bin, args, { stdio: 'inherit', customFds: [0, 1, 2] })
|
const proc = spawn(bin, args, { stdio: 'inherit', customFds: [0, 1, 2] })
|
||||||
proc.on('close', (code) => process.exit(code))
|
proc.on('close', (code) => process.exit(code))
|
||||||
proc.on('error', (err) => {
|
proc.on('error', (err) => {
|
||||||
console.error(err)
|
console.error(err) // eslint-disable-line no-console
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
})
|
})
|
||||||
|
@ -31,7 +31,7 @@ nuxt.build()
|
|||||||
listenOnConfigChanges(nuxt, server)
|
listenOnConfigChanges(nuxt, server)
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error(err)
|
console.error(err) // eslint-disable-line no-console
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user