Skip to content

Commit 3e9f3af

Browse files
keithaciidgh
authored andcommitted
Migrate entirely to new color-diagnostics flag
1 parent 8ea9f27 commit 3e9f3af

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Sources/Build/BuildPlan.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -652,11 +652,7 @@ public final class SwiftTargetBuildDescription {
652652

653653
// Add arguments to colorize output if stdout is tty
654654
if BuildParameters.isTTY {
655-
if ProcessEnv.vars["SWIFTPM_USE_NEW_COLOR_DIAGNOSTICS"] != nil {
656-
args += ["-color-diagnostics"]
657-
} else {
658-
args += ["-Xfrontend", "-color-diagnostics"]
659-
}
655+
args += ["-color-diagnostics"]
660656
}
661657

662658
// Add the output for the `.swiftinterface`, if requested.

0 commit comments

Comments
 (0)