Skip to content

Commit

Permalink
fix(vscode): extension can't find wing cli (#6850)
Browse files Browse the repository at this point in the history
Fixes #6849

*By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*.
  • Loading branch information
MarkMcCulloh authored Jul 4, 2024
1 parent 1cda481 commit b663c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/vscode-wing/src/bin-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function guidedWingInstallation() {
export async function updateStatusBar(wingBin: string) {
let version = "not found";
try {
version = await executeCommand(`"${wingBin}" -V --no-update-check`);
version = await executeCommand(`"${wingBin}" --version --no-update-check`);
} catch (e) {
Loggers.default.appendLine(
`Failed to get wing version from ${wingBin}: ${e}`
Expand Down
2 changes: 1 addition & 1 deletion tools/hangar/src/benchmarking/cli.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe("compile", async () => {
bench("version", async () => {
await runWingCommand({
cwd: benchmarksTestDir,
args: ["-V"],
args: ["--version"],
expectFailure: false,
});
});
Expand Down

0 comments on commit b663c29

Please sign in to comment.