diff --git a/src/e-sync.js b/src/e-sync.js index 7d8d85df..a2e68652 100644 --- a/src/e-sync.js +++ b/src/e-sync.js @@ -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}`); }