Skip to content

Commit a28f997

Browse files
fixup! create a wrangler.toml file for the user in case one is not already present
remove unnecessary nullish operator
1 parent 1a43d87 commit a28f997

File tree

1 file changed

+1
-1
lines changed
  • packages/cloudflare/src/cli/build

1 file changed

+1
-1
lines changed

packages/cloudflare/src/cli/build/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export async function getLatestCompatDate(): Promise<string | undefined> {
247247
const match = latestWorkerdVersion.match(/\d+\.(\d{4})(\d{2})(\d{2})\.\d+/);
248248

249249
if (match) {
250-
const [, year, month, date] = match ?? [];
250+
const [, year, month, date] = match;
251251
const compatDate = `${year}-${month}-${date}`;
252252

253253
return compatDate;

0 commit comments

Comments
 (0)