Skip to content

Commit

Permalink
Change latest result filename
Browse files Browse the repository at this point in the history
  • Loading branch information
mono0926 committed May 4, 2017
1 parent d6ea851 commit bba6e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LicensePlistCore/LicensePlist.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public final class LicensePlist {
}

let contents = (cocoaPodsLicenses.map { String(describing: $0) } + gitHubLibraries.map { String(describing: $0) }).joined(separator: "\n\n")
let savePath = outputPath.appendingPathComponent(".license_plist")
let savePath = outputPath.appendingPathComponent("\(Consts.prefix).latest_result.txt")
if let previous = read(path: savePath), previous == contents, !force {
Log.warning("Completed because no diff. You can execute force by `--force` flag.")
exit(0)
Expand Down

0 comments on commit bba6e1f

Please sign in to comment.