Skip to content

Commit e218ddf

Browse files
authored
refactor: remove useless code (#335)
1 parent e2918eb commit e218ddf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/cloudflare/src/cli/build/bundle-server.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ globalThis.__BUILD_TIMESTAMP_MS__ = ${Date.now()};
145145
},
146146
});
147147

148-
if (result.errors.length > 0) {
149-
result.errors.forEach((error) => console.error(error));
150-
throw new Error(`There was a problem bundling the server.`);
151-
}
152-
153148
fs.writeFileSync(openNextServerBundle + ".meta.json", JSON.stringify(result.metafile, null, 2));
154149

155150
await updateWorkerBundledCode(openNextServerBundle, buildOpts);

0 commit comments

Comments
 (0)