fix: export _isBunBinary

This commit is contained in:
MasutaYunikon committed 2026-03-20 16:59:58 +01:00
1 parent 3ce6523248
commit 4c7936b019
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
import fs from 'fs'
import path from 'path'
const _isBunBinary = typeof (globalThis as any).Bun !== 'undefined'
export const _isBunBinary = typeof (globalThis as any).Bun !== 'undefined'
&& path.dirname((process as any).execPath) !== process.cwd()
export const BASE_DIR = _isBunBinary