summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/build.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/build.ts b/packages/astro/src/build.ts
index 142e985df..5f68ef21e 100644
--- a/packages/astro/src/build.ts
+++ b/packages/astro/src/build.ts
@@ -150,7 +150,7 @@ ${stack}
scanPromises.push(
astroRuntime.load(url).then((result: LoadResult) => {
if (result.statusCode === 404) {
- if (url.startsWith('/_astro/')) {
+ if (url.startsWith('/_astro/')) {
throw new Error(`${buildState[id].srcPath.href}: could not find file "${url}".`);
}
warn(logging, 'build', `${buildState[id].srcPath.href}: could not find file "${url}". Marked as external.`);