Skip to content

Commit 49f3f59

Browse files
committed
fix: Use absolute URL for process current directory to prevent path resolution issues
1 parent bb4faf2 commit 49f3f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Runner/Commands/Runner.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func runDanger(version dangerSwiftVersion: String, logger: Logger) throws {
162162
(cwdOptionIndex + 1) < CommandLine.arguments.count
163163
{
164164
let directoryURL = URL(fileURLWithPath: CommandLine.arguments[cwdOptionIndex + 1])
165-
proc.currentDirectoryURL = directoryURL
165+
proc.currentDirectoryURL = directoryURL.absoluteURL
166166
}
167167
proc.standardOutput = standardOutput
168168
proc.standardError = standardOutput

0 commit comments

Comments
 (0)