Skip to content

Commit

Permalink
fix($eslint): space infix operator
Browse files Browse the repository at this point in the history
  • Loading branch information
faceyspacey committed Aug 18, 2017
1 parent 516fadc commit 90daf3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flushChunks.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,15 @@ 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.`)
}

return result
}

const entryToFiles = entry => assets[entry]|| assets[entry+'-']
const entryToFiles = entry => assets[entry]|| assets[entry + '-']

return [].concat(...chunkNames.filter(hasChunk).map(entryToFiles))
}
Expand Down

0 comments on commit 90daf3e

Please sign in to comment.