Skip to content

Commit 62103db

Browse files
authored
Fix name of the renamed --scratch-path flag in deprecation warning (#4228)
1 parent 280d299 commit 62103db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Commands/SwiftTool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ public class SwiftTool {
484484

485485
static func postprocessArgParserResult(options: GlobalOptions, observabilityScope: ObservabilityScope) throws {
486486
if options.locations._deprecated_buildPath != nil {
487-
observabilityScope.emit(warning: "'--build-path' option is deprecated; use '--scratch-space-path' instead")
487+
observabilityScope.emit(warning: "'--build-path' option is deprecated; use '--scratch-path' instead")
488488
}
489489

490490
if options.locations._deprecated_chdir != nil {

0 commit comments

Comments
 (0)