Skip to content

Commit

Permalink
hot-fix: write file syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Blanquera committed Oct 4, 2019
1 parent dfdfc59 commit af385b9
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": "@openovate/webpack-jailbreak",
"version": "0.0.5",
"version": "0.0.6",
"description": "Break out of Webpack's filesystem! This allows you to plugin virtual files and folders easily.",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/WebpackPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class WebpackPlugin {
* @param {(String|Buffer)} content
*/
updateFile(compiler, file, content) {
this.virtualFileSystem.writeFile[file] = content;
this.virtualFileSystem.writeFile(file, content);
return this.writeFile(compiler, file, content);
}

Expand Down

0 comments on commit af385b9

Please sign in to comment.