File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Plugins/PrefireTestsPlugin
PrefireExecutable/Sources/prefire Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ struct PrefireTestsPlugin: BuildToolPlugin {
2929
3030 let environment = [
3131 " TARGET_DIR " : String ( describing: target. directory) ,
32- " PACKAGE_DIR " : context. package . directoryURL. path ( ) ,
32+ " PACKAGE_DIR " : context. package . directoryURL. path ( percentEncoded : false ) ,
3333 ]
3434
3535 return [
@@ -74,7 +74,7 @@ struct PrefireTestsPlugin: BuildToolPlugin {
7474 arguments. append ( contentsOf: sources)
7575
7676 let environment = [
77- " PROJECT_DIR " : context. xcodeProject. directoryURL. path ( ) ,
77+ " PROJECT_DIR " : context. xcodeProject. directoryURL. path ( percentEncoded : false ) ,
7878 ]
7979
8080 return [
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ struct GeneratedPlaybookOptions {
2727 if let template = config? . playbook. template, let targetPath {
2828 let targetURL = URL ( filePath: targetPath)
2929 let templateURL = targetURL. appending ( path: template)
30- self . template = Path ( templateURL. absoluteURL. path ( ) )
30+ self . template = Path ( templateURL. absoluteURL. path ( percentEncoded : false ) )
3131 } else if let template {
3232 self . template = Path ( template)
3333 }
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ struct GeneratedTestsOptions {
4242 if let template = config? . tests. template, let testTargetPath = self . testTargetPath {
4343 let testTargetURL = URL ( filePath: testTargetPath. string)
4444 let templateURL = testTargetURL. appending ( path: template)
45- self . template = Path ( templateURL. absoluteURL. path ( ) )
45+ self . template = Path ( templateURL. absoluteURL. path ( percentEncoded : false ) )
4646 } else if let template {
4747 self . template = Path ( template)
4848 }
Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ enum ConfigPathBuilder {
2424 configURL. append ( component: configFileName)
2525 }
2626
27- possibleConfigPaths. append ( configURL. absoluteURL. path ( ) )
27+ possibleConfigPaths. append ( configURL. absoluteURL. path ( percentEncoded : false ) )
2828 }
2929
3030 // Add the default path
3131 let configURL = URL ( filePath: configFileName) // Relative to the current directory
32- possibleConfigPaths. append ( configURL. absoluteURL. path ( ) )
32+ possibleConfigPaths. append ( configURL. absoluteURL. path ( percentEncoded : false ) )
3333
3434 return possibleConfigPaths
3535 }
You can’t perform that action at this time.
0 commit comments