fix: remove import.meta.url in patch-zod-buffer script for ts-node CJS compatibility
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user