Skip to content

Commit d898ca8

Browse files
committed
Merge pull request webpack#1091 from kennyt/patch-2
Remove unnecessary comma in message
2 parents 6180c72 + aa5e21f commit d898ca8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/dependencies/CommonJsRequireDependencyParserPlugin.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CommonJsRequireDependencyParserPlugin.prototype.apply = function(parser) {
2626
});
2727
parser.plugin("expression require", function(expr) {
2828
var dep = new CommonJsRequireContextDependency(options.unknownContextRequest, options.unknownContextRecursive, options.unknownContextRegExp, expr.range);
29-
dep.critical = options.unknownContextCritical && "require function is used in a way, in which dependencies cannot be statically extracted";
29+
dep.critical = options.unknownContextCritical && "require function is used in a way in which dependencies cannot be statically extracted";
3030
dep.loc = expr.loc;
3131
dep.optional = !!this.scope.inTry;
3232
this.state.current.addDependency(dep);

0 commit comments

Comments
 (0)