File tree 2 files changed +7
-11
lines changed
Source/SwiftLintFramework/Extensions
2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 10
10
11
11
#### Enhancements
12
12
13
- * None.
13
+ * Add option to specify a ` child_config ` / ` parent_config ` file
14
+ (local or remote) in any SwiftLint configuration file.
15
+ Allow passing multiple configuration files via the command line.
16
+ [ Frederick Pietschmann] ( https://github.com/fredpi )
17
+ [ #1352 ] ( https://github.com/realm/SwiftLint/issues/1352 )
14
18
15
19
#### Bug Fixes
16
20
129
133
found issues.
130
134
[ krin-san] ( https://github.com/krin-san )
131
135
[ #3177 ] ( https://github.com/realm/SwiftLint/pull/3177 )
132
-
133
- * Add option to specify a ` child_config ` / ` parent_config ` file
134
- (local or remote) in any SwiftLint configuration file.
135
- Allow passing multiple configuration files via the command line.
136
- [ Frederick Pietschmann] ( https://github.com/fredpi )
137
- [ #1352 ] ( https://github.com/realm/SwiftLint/issues/1352 )
138
136
139
137
* Add opt-in ` ibinspectable_in_extension ` rule to lint against ` @IBInspectable `
140
138
properties in ` extensions ` .
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ internal extension Configuration.FileGraph.FilePath {
13
13
private static let remoteCacheVersionNumber : String = " v1 "
14
14
15
15
/// Use this to get the path to the cache directory for the current cache format
16
- private static var versionedRemoteCachePath : String {
17
- " \( remoteCachePath) / \( remoteCacheVersionNumber) "
18
- }
16
+ private static let versionedRemoteCachePath : String = " \( remoteCachePath) / \( remoteCacheVersionNumber) "
19
17
20
18
// MARK: - Methods: Resolving
21
19
mutating func resolve(
@@ -199,7 +197,7 @@ internal extension Configuration.FileGraph.FilePath {
199
197
200
198
private func filePath( for urlString: String , rootDirectory: String ) -> String {
201
199
let adjustedUrlString = urlString. replacingOccurrences ( of: " / " , with: " _ " )
202
- let path = " \( Configuration . FileGraph. FilePath. versionedRemoteCachePath) " + " / \( adjustedUrlString) .yml "
200
+ let path = Configuration . FileGraph. FilePath. versionedRemoteCachePath + " / \( adjustedUrlString) .yml "
203
201
return path. bridge ( ) . absolutePathRepresentation ( rootDirectory: rootDirectory)
204
202
}
205
203
You can’t perform that action at this time.
0 commit comments