Skip to content

Commit

Permalink
do not merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jfeingold35 committed Sep 17, 2024
1 parent 2af2ab2 commit 4729461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/sf-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class SfCli {
return new Promise((res) => {
const cp = cspawn.spawn('sf', ['-v']);

cp.on('exit', code => {
cp.on('close', code => {
// If the exit code is 0, then SF or SFDX is present.
// Otherwise, it's not.
res(code === 0);
Expand Down

0 comments on commit 4729461

Please sign in to comment.