Skip to content

Commit 8fbfbc9

Browse files
Update ContextModule.js
added semicolon
1 parent aa39f79 commit 8fbfbc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ContextModule.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ ContextModule.prototype.source = function(dependencyTemplates, outputOptions, re
9393
"function webpackContextResolve(req) {\n",
9494
"\treturn map[req] || (function() { throw new Error(\"Cannot find module '\" + req + \"'.\") }());\n",
9595
"};\n",
96-
"webpackContext.id = "+this.id+"\n",
96+
"webpackContext.id = "+this.id+";\n",
9797
"webpackContext.keys = function webpackContextKeys() {\n",
9898
"\treturn Object.keys(map);\n",
9999
"};\n",
@@ -121,4 +121,4 @@ ContextModule.prototype.size = function() {
121121
return this.dependencies.map(function(dep) {
122122
return dep.userRequest.length + 5;
123123
}).reduce(function(a, b) { return a+b; }, 160);
124-
};
124+
};

0 commit comments

Comments
 (0)