Skip to content

Commit

Permalink
Fix confusing indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrabe authored and jantimon committed Apr 16, 2018
1 parent e2c6990 commit 75eef88
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,14 @@ class HtmlWebpackPlugin {
})
// Allow plugins to make changes to the assets before invoking the template
// This only makes sense to use if `inject` is `false`
.then(compilationResult => applyPluginsAsyncWaterfall('html-webpack-plugin-before-html-generation', false, {
assets: assets,
outputName: self.childCompilationOutputName,
plugin: self
})
.then(() => compilationResult))
.then(compilationResult =>
applyPluginsAsyncWaterfall('html-webpack-plugin-before-html-generation', false, {
assets: assets,
outputName: self.childCompilationOutputName,
plugin: self
})
.then(() => compilationResult)
)
// Execute the template
.then(compilationResult => typeof compilationResult !== 'function'
? compilationResult
Expand Down

0 comments on commit 75eef88

Please sign in to comment.