From e46716d832215f25148dd57d6d9cc1c2193c0970 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Mon, 15 Jan 2024 23:36:31 +0100 Subject: [PATCH] fix: remove faulty crawl assert (fix #1440) --- .../importUserCode/v1-design/getVikeConfig/crawlPlusFiles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vike/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/crawlPlusFiles.ts b/vike/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/crawlPlusFiles.ts index 1c916b82a17..5aa7eda96b7 100644 --- a/vike/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/crawlPlusFiles.ts +++ b/vike/node/plugin/plugins/importUserCode/v1-design/getVikeConfig/crawlPlusFiles.ts @@ -173,6 +173,8 @@ async function isGitMissing(userRootDir: string) { async function runCmd(cmd: string, cwd: string): Promise { const res = await execA(cmd, { cwd }) + /* Not always true: https://github.com/vikejs/vike/issues/1440#issuecomment-1892831303 assert(res.stderr === '') + */ return res.stdout.toString().split('\n').filter(Boolean) }