Skip to content

Commit 72c21bd

Browse files
committed
Don't clear danger-response.json on success.
1 parent c72f1f6 commit 72c21bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Runner/Commands/Runner.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ func runDanger(logger: Logger) throws {
187187

188188
// Clean up after ourselves
189189
try? fileManager.removeItem(atPath: dslJSONPath)
190-
try? fileManager.removeItem(atPath: tmpPath)
190+
try? fileManager.removeItem(atPath: tempDangerfilePath)
191191

192192
// Return the same error code as the compilation
193193
exit(proc.terminationStatus)

0 commit comments

Comments
 (0)