From 491f5b7a83c2319fcbee2aa1da367dba6741a21b Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:59:25 -0400 Subject: [PATCH] maint: fix cryptic error from ts-node --- script/sync.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/sync.ts b/script/sync.ts index 48bf941618d..9c01e8a8741 100644 --- a/script/sync.ts +++ b/script/sync.ts @@ -6,7 +6,7 @@ import * as fs from "fs"; import { join, extname } from "path"; import { fileURLToPath } from 'url'; -const __dirname = url.fileURLToPath(new URL('.', import.meta.url)); +const __dirname = fileURLToPath(new URL('.', import.meta.url)); function pad(number: number) { if (number < 10) {