Skip to content

Commit

Permalink
fix git initial user and email setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jialin Zhang authored and Zsailer committed May 15, 2024
1 parent 900b4b5 commit ab47c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/GitPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ export class GitPanel extends React.Component<IGitPanelProps, IGitPanelState> {
* @param path - repository path
*/
private async _hasIdentity(path: string | null): Promise<string | null> {
if (!path) {
if (path === null) {
return null;
}

Expand Down

0 comments on commit ab47c21

Please sign in to comment.