From cfdc99c93d48d7c9f067a635a29ea51f1d0776f7 Mon Sep 17 00:00:00 2001 From: Andrew Kozlov Date: Mon, 6 May 2024 13:55:16 +0300 Subject: [PATCH] fix: e sync, compare pathes with no case (#588) --- src/e-sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`); }