Skip to content

Commit 00915e0

Browse files
committed
Don't change CWD in plugin script
1 parent 466cadc commit 00915e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SPMBuildCore/Plugins/DefaultPluginScriptRunner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public struct DefaultPluginScriptRunner: PluginScriptRunner, Cancellable {
490490
#endif
491491
process.environment = .init(env)
492492

493-
process.currentDirectoryURL = workingDirectory.asURL
493+
//process.currentDirectoryURL = workingDirectory.asURL
494494

495495
// Set up a pipe for sending structured messages to the plugin on its stdin.
496496
let stdinPipe = Pipe()

0 commit comments

Comments
 (0)