You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Sources/Swiftly/Proxy.swift
+1-1
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public enum Proxy {
53
53
}
54
54
55
55
guardlet toolchain = toolchain else{
56
-
throwSwiftlyError(message:"No swift toolchain could be selected from either from a .swift-version file, or the default. You can try using `swiftly install <toolchain version>` to install one.")
56
+
throwSwiftlyError(message:"No installed swift toolchain is selected from either from a .swift-version file, or the default. You can try using one that's already installed with `swiftly use <toolchain version>` or install a new toolchain to use with `swiftly install --use <toolchain version>`.")
57
57
}
58
58
59
59
// Prevent circularities with a memento environment variable
throwSwiftlyError(message:"No swift toolchain could be selected from either from a .swift-version file, or the default. You can try using `swiftly install <toolchain version>` to install one.")
89
+
throwSwiftlyError(message:"No installed swift toolchain is selected from either from a .swift-version file, or the default. You can try using one that's already installed with `swiftly use <toolchain version>` or install a new toolchain to use with `swiftly install --use <toolchain version>`.")
SwiftlyCore.print("A new file `\(newVersionFile)` will be created to set the new in-use toolchain for this project. Alternatively, you can set your default globally with the `--global-default` flag. Proceed with creating this file?")
throwSwiftlyError(message:"Toolchain \(toolchain) could not be located. You can try `swiftly uninstall \(toolchain)` to uninstall it and then `swiftly install \(toolchain)` to install it again.")
146
+
}
144
147
varnewEnv=ProcessInfo.processInfo.environment
145
148
146
149
// The toolchain goes to the beginning of the PATH
0 commit comments