Skip to content

Commit b1aa918

Browse files
author
Einar Löve
committed
Remove check for this.silent
1 parent 062daae commit b1aa918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/EnvironmentPlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ EnvironmentPlugin.prototype.apply = function(compiler) {
2121
compiler.apply(new DefinePlugin(this.keys.reduce(function(definitions, key) {
2222
var value = process.env[key] || this.defaultValues[key];
2323

24-
if(value === undefined && !this.silent) {
24+
if(value === undefined) {
2525
compiler.plugin("this-compilation", function(compilation) {
2626
var error = new Error(key + " environment variable is undefined.");
2727
error.name = "EnvVariableNotDefinedError";

0 commit comments

Comments
 (0)