Skip to content

Commit

Permalink
change handled return to simply a non-null, non-zero code rather than…
Browse files Browse the repository at this point in the history
… 0 with an empty list of commits
  • Loading branch information
basokant committed Feb 8, 2023
1 parent 85c7b2f commit 27724da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ export class GitExtension implements IGitExtension {
}
);
} catch (error) {
return { code: 0, commits: [] };
return { code: 1 };
}
}
);
Expand Down

0 comments on commit 27724da

Please sign in to comment.