We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e78812 commit 5d90f4eCopy full SHA for 5d90f4e
packages/create-cloudflare/src/helpers/compatDate.ts
@@ -27,7 +27,7 @@ export async function getWorkerdCompatibilityDate() {
27
const match = latestWorkerdVersion.match(/\d+\.(\d{4})(\d{2})(\d{2})\.\d+/);
28
29
if (match) {
30
- const [, year, month, date] = match ?? [];
+ const [, year, month, date] = match;
31
const compatDate = `${year}-${month}-${date}`;
32
33
s.stop(`${brandColor("compatibility date")} ${dim(compatDate)}`);
0 commit comments