Skip to content

Commit ed9c215

Browse files
jazellyaduh95
andauthored
Update lib/github/tree.js
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent cd75a45 commit ed9c215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/github/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default class GitHubTree {
4242
`Cannot find WPT for "${path}". Please check the WPT name.`,
4343
this.cli.SPINNER_STATUS.FAILED
4444
);
45-
process.exit();
45+
throw new Error('Cannot find last commit');
4646
}
4747
return targetHistoryNodes[0].oid;
4848
}

0 commit comments

Comments
 (0)