throw error for tests

This commit is contained in:
Sébastien Chopin 2017-03-20 19:19:57 +01:00
parent 1cd5c0d68b
commit 2a005308d2

View File

@ -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) => {