diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts index e93fd7fb9..8ee301344 100644 --- a/packages/astro/src/core/create-vite.ts +++ b/packages/astro/src/core/create-vite.ts @@ -243,7 +243,7 @@ class DependencyWalker { dir = parentDir; } - } catch (e) { + } catch { // Give up! Who knows where the `package.json` is… } }