Skip to content

Commit

Permalink
Fix cwd on tracked check
Browse files Browse the repository at this point in the history
  • Loading branch information
sjchmiela committed Feb 7, 2025
1 parent f334bdb commit 2b5d83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eas-cli/src/vcs/clients/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export default class GitClient extends Client {
let isTracked: boolean;
try {
await spawnAsync('git', ['ls-files', '--error-unmatch', filePath], {
cwd: this.maybeCwdOverride,
cwd: rootPath,
});
isTracked = true;
} catch {
Expand Down

0 comments on commit 2b5d83a

Please sign in to comment.