File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
dist/actions/branch-solution
src/actions/branch-solution Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18620,7 +18620,7 @@ var currDir = process.cwd();
1862018620 if (branch && branch.length >= 2) {
1862118621 return branch[1];
1862218622 }
18623- });
18623+ }).filter((x) => x !== void 0) ;
1862418624 if (!head || head.length < 1 || head.length > 1 || !head[0]) {
1862518625 throw new Error(`Cannot determine HEAD from remote: ${repoUrl}`);
1862618626 }
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const currDir = process.cwd();
5959 if ( branch && branch . length >= 2 ) {
6060 return branch [ 1 ] ;
6161 }
62- } ) ;
62+ } ) . filter ( x => x !== undefined ) ;
6363 if ( ! head || head . length < 1 || head . length > 1 || ! head [ 0 ] ) {
6464 throw new Error ( `Cannot determine HEAD from remote: ${ repoUrl } ` ) ;
6565 }
You can’t perform that action at this time.
0 commit comments