Skip to content

Commit

Permalink
Put back path.bridge().absolutePathRepresentation() for cache signature
Browse files Browse the repository at this point in the history
  • Loading branch information
benasher44 committed Jan 19, 2017
1 parent 45f4251 commit 31cd89c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/swiftlint/Extensions/LinterCache+CommandLine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ private func defaultCacheURL(options: LintOptions) -> URL {
#endif

// options.paths has a single path by default
let cacheSignature = options.paths.first!
let firstPath = options.paths.first!
let cacheSignature = firstPath.bridge().absolutePathRepresentation()
let fileName = String(cacheSignature.hash) + ".json"
let folder = baseURL.appendingPathComponent("SwiftLint")

Expand Down

0 comments on commit 31cd89c

Please sign in to comment.