We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74b36c3 commit 941ad77Copy full SHA for 941ad77
lib/webpacker/env.rb
@@ -40,7 +40,7 @@ def available_environments
40
def node_env
41
ENV.fetch("NODE_ENV")
42
rescue KeyError
43
- logger.info "Using webpacker requires that you set NODE_ENV environment variables. " \
+ raise "Using webpacker requires that you set NODE_ENV environment variables. " \
44
"Valid values are #{available_environments.join(', ')}"
45
end
46
0 commit comments