lib/danger/commands/local_helpers/pry_setup.rb in danger-5.4.3 vs lib/danger/commands/local_helpers/pry_setup.rb in danger-5.5.0
- old
+ new
@@ -7,10 +7,10 @@
def setup_pry(dangerfile_path)
return dangerfile_path if dangerfile_path.empty?
validate_pry_available
FileUtils.cp dangerfile_path, DANGERFILE_COPY
File.open(DANGERFILE_COPY, "a") do |f|
- f.write("binding.pry; File.delete(\"#{DANGERFILE_COPY}\")")
+ f.write("\nbinding.pry; File.delete(\"#{DANGERFILE_COPY}\")")
end
DANGERFILE_COPY
end
private