From 90daf3e212810a1f1261a5d5059c6343d72b72d3 Mon Sep 17 00:00:00 2001 From: James Gillmore Date: Fri, 18 Aug 2017 07:25:23 -0700 Subject: [PATCH] fix($eslint): space infix operator --- src/flushChunks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flushChunks.js b/src/flushChunks.js index bd9ab09..e65ea59 100644 --- a/src/flushChunks.js +++ b/src/flushChunks.js @@ -195,7 +195,7 @@ const filesFromChunks = ( checkChunkNames?: boolean ): Files => { const hasChunk = entry => { - const result = !!(assets[entry] || assets[entry+'-']) + const result = !!(assets[entry] || assets[entry + '-']) if (!result && checkChunkNames) { console.warn(`[FLUSH CHUNKS]: Unable to find ${entry} in Webpack chunks. Please check usage of Babel plugin.`) } @@ -203,7 +203,7 @@ const filesFromChunks = ( return result } - const entryToFiles = entry => assets[entry]|| assets[entry+'-'] + const entryToFiles = entry => assets[entry]|| assets[entry + '-'] return [].concat(...chunkNames.filter(hasChunk).map(entryToFiles)) }