fix: remove import.meta.url in patch-zod-buffer script for ts-node CJS compatibility

This commit is contained in:
ff
2026-04-04 22:54:33 -04:00
parent 5d77e207c9
commit 0b854963bd

View File

@@ -1,9 +1,5 @@
import fs from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const dir = path.resolve(__dirname, '../shared/schemas/objects');