Skip to content

Commit 8e08c3b

Browse files
committed
Address comments
1 parent 2b11bb8 commit 8e08c3b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Sources/Swiftly/Unlink.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ struct Unlink: SwiftlyCommand {
5252
}
5353

5454
if pathChanged {
55+
await ctx.print(Messages.unlinkSuccess)
5556
await ctx.print(Messages.refreshShell)
5657
}
5758
}

Sources/SwiftlyCore/Messages.swift

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@ public enum Messages {
99
1010
"""
1111

12-
public static func postInstall(_ message: String) -> String {
12+
public static let unlinkSuccess = """
13+
Swiftly is now unlinked and will not manage the active toolchain until the following command is run:
14+
15+
$ swiftly link
16+
17+
"""
18+
19+
public static func postInstall(_ command: String) -> String {
1320
"""
1421
There are some dependencies that should be installed before using this toolchain.
1522
You can run the following script as the system administrator (e.g. root) to prepare
1623
your system:
1724
18-
\(message)
25+
\(command)
1926
2027
"""
2128
}

0 commit comments

Comments
 (0)