Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Commit 488b3f6

Browse files
committed
fix: minor rollbar tweaks
1 parent b996c19 commit 488b3f6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎rollup.config.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ import pkg from './package.json'
77
const external = ['fs', ...Object.keys(pkg.dependencies)]
88

99
// Add shebang + disable experimental fetch warning
10+
// Use env -S with explicit PATH to ensure node can be found in restricted environments (e.g., Make)
11+
// Note: macOS env -S only supports ${VARNAME} syntax, not $VARNAME
1012
const banner = `
11-
#!/usr/bin/env node
13+
#!/usr/bin/env -S PATH="/opt/homebrew/bin:/usr/local/bin:\${PATH}" node
1214
process.removeAllListeners('warning')
1315
`.trim()
1416

0 commit comments

Comments
 (0)