mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
throw error for tests
This commit is contained in:
parent
1cd5c0d68b
commit
2a005308d2
@ -57,6 +57,7 @@ export default function () {
|
||||
console.error('Could not resolve routes') // eslint-disable-line no-console
|
||||
console.error(e) // eslint-disable-line no-console
|
||||
process.exit(1)
|
||||
throw e // eslint-disable-line no-unreachable
|
||||
})
|
||||
})
|
||||
.then((generateRoutes) => {
|
||||
|
Loading…
Reference in New Issue
Block a user