Skip to content

Commit

Permalink
update isAvailable()
Browse files Browse the repository at this point in the history
  • Loading branch information
aetheryx committed Mar 25, 2022
1 parent 06e04f3 commit bb119e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/libs/pulumi-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as exec from './exec';
import { getVersionObject } from './libs/get-version';

export async function isAvailable(): Promise<boolean> {
const res = await exec.exec(`pulumi`, [], true);
const res = await exec.exec(`yarn pnpify pulumi`, [], true);
return res.stderr != '' && !res.success ? false : res.success;
}

Expand Down

0 comments on commit bb119e9

Please sign in to comment.