Skip to content

Commit f759135

Browse files
authored
chore: fix build (#172)
1 parent 28edc4d commit f759135

4 files changed

Lines changed: 7 additions & 431 deletions

File tree

bin/command-line-definitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { join } from "node:path";
55
import { getAsset, isSea } from "node:sea";
66
import { getCurrentFileInfo } from '../src/compat.js';
77

8-
// Get current file info with ESM/CommonJS compatibility
9-
const { __dirname } = getCurrentFileInfo(import.meta.url);
8+
// @ts-ignore - Get current file info with ESM/CommonJS compatibility
9+
const { __dirname } = getCurrentFileInfo(import.meta?.url);
1010

1111
const packageVersion = getPackageVersion();
1212

0 commit comments

Comments
 (0)