Skip to content

Commit 07280be

Browse files
eamodiosaeedzaha
authored andcommitted
Fixes stash list w/ reachableFrom option
1 parent 71c28ad commit 07280be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export class StashGitSubProvider implements GitStashSubProvider {
179179
'--',
180180
);
181181

182-
const ancestors = data?.trim().split('\n')?.[0];
182+
const ancestors = data?.trim().split('\n');
183183
if (ancestors?.length && (ancestors.length !== 1 || ancestors[0])) {
184184
const reachableCommits = new Set(ancestors);
185185

0 commit comments

Comments
 (0)