Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
LiberJe committed Mar 16, 2018
1 parent e2f2a86 commit a7f2565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mossad",
"version": "0.1.5",
"version": "0.1.6",
"description": "A mobile rolling performance observation tool",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MossadWebpackPlugin {
compilation.plugin(
'html-webpack-plugin-before-html-processing',
(data, cb) => {
data.html = data.html.replace(`${injectPos}`, `${this.injection}${injectPos}`)
data.html = data.html.replace(injectPos, `${this.injection}${injectPos}`)
if (cb) {
cb(null, data)
}
Expand Down

0 comments on commit a7f2565

Please sign in to comment.