From a5355e17e18ac22ea16f69dd0d75000ca988d982 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Mon, 8 May 2023 10:31:31 -0300 Subject: [PATCH] fix stat with null value --- lib/util/conflicter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/conflicter.js b/lib/util/conflicter.js index fbe9cbc4..1953031b 100644 --- a/lib/util/conflicter.js +++ b/lib/util/conflicter.js @@ -128,7 +128,7 @@ class Conflicter { return true; } - if (stat.mode && diskStat.mode !== stat.mode) { + if (stat && stat.mode && diskStat.mode !== stat.mode) { return true; }