Skip to content

Commit

Permalink
Support paths with spaces in them (#115)
Browse files Browse the repository at this point in the history
* Support paths with spaces in them

* Update repositoryURL
  • Loading branch information
dfed authored Oct 3, 2024
1 parent 065f757 commit 43a838e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
/* Begin XCRemoteSwiftPackageReference section */
321042512B2533ED0088785D /* XCRemoteSwiftPackageReference "SafeDI" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/dfed/SafeDI";
repositoryURL = "https://github.com/dfed/SafeDI.git";
requirement = {
branch = main;
kind = branch;
Expand Down
4 changes: 2 additions & 2 deletions Plugins/SafeDIGenerator/SafeDIGenerateDependencyTree.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct SafeDIGenerateDependencyTree: BuildToolPlugin {
}
let inputSourcesFilePath = context.pluginWorkDirectoryURL.appending(path: "InputSwiftFiles.csv").path()
try Data(
(targetSwiftFiles.map { $0.path() } + dependenciesSourceFiles.map { $0.path() })
(targetSwiftFiles.map { $0.path(percentEncoded: false) } + dependenciesSourceFiles.map { $0.path(percentEncoded: false) })
.joined(separator: ",")
.utf8
)
Expand Down Expand Up @@ -153,7 +153,7 @@ extension Target {
let inputSourcesFilePath = context.pluginWorkDirectoryURL.appending(path: "InputSwiftFiles.csv").path()
try Data(
inputSwiftFiles
.map { $0.path() }
.map { $0.path(percentEncoded: false) }
.joined(separator: ",")
.utf8
)
Expand Down

0 comments on commit 43a838e

Please sign in to comment.