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 60a1de7 commit c459ee3Copy full SHA for c459ee3
Sources/Swiftly/Init.swift
@@ -200,8 +200,8 @@ struct Init: SwiftlyCommand {
200
"""
201
} else if shell.hasSuffix("/nu") {
202
env = """
203
- $env.SWIFTLY_HOME_DIR = "\(Swiftly.currentPlatform.swiftlyHomeDir.path)"
204
- $env.SWIFTLY_BIN_DIR = "\(Swiftly.currentPlatform.swiftlyBinDir.path)"
+ $env.SWIFTLY_HOME_DIR = "\(Swiftly.currentPlatform.swiftlyHomeDir(ctx).path)"
+ $env.SWIFTLY_BIN_DIR = "\(Swiftly.currentPlatform.swiftlyBinDir(ctx).path)"
205
if "$SWIFTLY_BIN_DIR" not-in $env.PATH {
206
$env.PATH = ($env.PATH | split row (char esep) | prepend $env.SWIFTLY_BIN_DIR)
207
}
0 commit comments