lib/webpacker/env.rb in webpacker-4.1.0 vs lib/webpacker/env.rb in webpacker-4.2.0
- old
+ new
@@ -10,10 +10,10 @@
def initialize(webpacker)
@webpacker = webpacker
end
def inquire
- fallback_env_warning unless current
+ fallback_env_warning if config_path.exist? && !current
current || DEFAULT.inquiry
end
private
def current