Skip to content

Commit

Permalink
Get hash from parsed dictionary instead of String
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofabri committed Jan 10, 2017
1 parent b7b905c commit c28e308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SwiftLintFramework/Models/Configuration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public struct Configuration: Equatable {
}
self.init(dict: dict)!
configurationPath = fullPath
hash = yamlContents.hash
hash = dict.bridge().hashValue
self.rootPath = rootPath
return
} catch YamlParserError.yamlParsing(let message) {
Expand Down

0 comments on commit c28e308

Please sign in to comment.