src/project.rb in jspec-3.1.1 vs src/project.rb in jspec-3.1.2

- old
+ new

@@ -141,9 +141,10 @@ ## # Replace absolute JSPEC_ROOT _paths_. def replace_root_in *paths paths.each do |path| + next unless File.exists? normalize(path) jspec_root = root jspec_root = '.' if vendorized? and path.include? '.html' contents = File.read(normalize(path)).gsub 'JSPEC_ROOT', jspec_root File.open(normalize(path), 'w') { |file| file.write contents } end