2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-12 00:02:25 +03:00

refactor: use forEach not map

This commit is contained in:
pimlie
2019-03-09 18:00:27 +01:00
committed by Alexander Lichter
parent a10fd83539
commit 5cbb5bdc52
+2 -2
View File
@@ -41,8 +41,8 @@ export async function buildFixture(fixture, config = {}) {
const webpackStats = await webpackRun(webpackConfig)
// for test debugging
webpackStats.errors.map(e => console.error(e)) // eslint-disable-line no-console
webpackStats.warnings.map(e => console.warn(e)) // eslint-disable-line no-console
webpackStats.errors.forEach(e => console.error(e)) // eslint-disable-line no-console
webpackStats.warnings.forEach(e => console.warn(e)) // eslint-disable-line no-console
const vueApp = await import(path.resolve(fixturePath, 'server')).then(m => m.default || m)