lib/generators/dockerfile_generator.rb in dockerfile-rails-1.6.7 vs lib/generators/dockerfile_generator.rb in dockerfile-rails-1.6.8

- old
+ new

@@ -1032,9 +1032,11 @@ "sqlite3" end end def node_version + return unless using_node? || using_execjs? + version = nil if File.exist? ".node-version" version = IO.read(".node-version")[/\d+\.\d+\.\d+/] end