Skip to content

Commit

Permalink
fix: remove faulty crawl assert (fix #1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jan 15, 2024
1 parent 7450f41 commit e46716d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ async function isGitMissing(userRootDir: string) {

async function runCmd(cmd: string, cwd: string): Promise<string[]> {
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)
}

0 comments on commit e46716d

Please sign in to comment.