Skip to content

Commit

Permalink
fix: e sync, compare pathes with no case (electron#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsml committed May 6, 2024
1 parent 6cfcc75 commit cfdc99c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/e-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function setRemotes(cwd, repo) {
.trim(),
);

if (gitRoot !== cwd) {
if (gitRoot.toLowerCase() !== cwd.toLowerCase()) {
fatal(`Expected git root to be ${cwd} but found ${gitRoot}`);
}

Expand Down

0 comments on commit cfdc99c

Please sign in to comment.