Skip to content

Commit

Permalink
Update packages/cli/commands/add/preconditions.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Conduitry <[email protected]>
  • Loading branch information
manuel3108 and Conduitry authored Jan 12, 2025
1 parent d7f61c5 commit 2d410a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/commands/add/preconditions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function getGlobalPreconditions(
// git will exit with a failing exit code, which will trigger the catch statement.
// also see https://remarkablemark.org/blog/2017/10/12/check-git-dirty/#git-status
const asyncExec = promisify(exec);
const { stdout } = await asyncExec('git statzs --short', {
const { stdout } = await asyncExec('git status --short', {
cwd
});

Expand Down

0 comments on commit 2d410a3

Please sign in to comment.