We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d4116d commit 1eebdd9Copy full SHA for 1eebdd9
Sources/Swiftly/Swiftly.swift
@@ -100,9 +100,16 @@ extension SwiftlyCommand {
100
101
return {
102
if shouldUpdateSwiftly {
103
- ctx.print("----------------------------")
104
- ctx.print("A new release of swiftly is available")
105
- ctx.print("Please run `swiftly self-update` to update.")
+ let errorMessage = """
+ -----------------------------
+ A new release of swiftly is available
106
+ Please run `swiftly self-update` to update.
107
+ -----------------------------\n
108
+ """
109
+
110
+ if let data = errorMessage.data(using: .utf8) {
111
+ FileHandle.standardError.write(data)
112
+ }
113
}
114
115
0 commit comments