Skip to content

Commit b6e28b2

Browse files
committed
Fixes staging multiple files
Caused by 7a7da0f
1 parent 54319c4 commit b6e28b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/env/node/git/sub-providers/staging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class StagingGitSubProvider implements GitStagingSubProvider {
9797
'add',
9898
options?.intentToAdd ? '-N' : '-A',
9999
'--',
100-
pathOrUri.map(p => (typeof p === 'string' ? p : splitPath(p, repoPath)[0])),
100+
...pathOrUri.map(p => (typeof p === 'string' ? p : splitPath(p, repoPath)[0])),
101101
);
102102
}
103103

0 commit comments

Comments
 (0)