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 5afa18a commit d6a4580Copy full SHA for d6a4580
src/swiftly/swiftly.ts
@@ -18,9 +18,8 @@ export async function installSwift(version: string) {
18
"--assume-yes",
19
);
20
21
- debug(`SWIFTLY_HOME_DIR: ${process.env.SWIFTLY_HOME_DIR}`);
22
- debug(`SWIFTLY_BIN_DIR: ${process.env.SWIFTLY_BIN_DIR}`);
23
-
24
info(`Installing Swift ${version}`);
25
- await swiftly("install", "--use", version, "--assume-yes");
+ await swiftly("install", version, "--assume-yes");
+ const location = swiftly("use", version, "--print-location");
+ debug(`Swiftly installed Swift to ${location}`);
26
}
0 commit comments