Skip to content

Commit

Permalink
Fix executable (#554)
Browse files Browse the repository at this point in the history
According to nodejs/node#30810
We need to use `#!/usr/bin/env -S node
--no-warnings=ExperimentalWarning` on Linux. Otherwise it hangs. This
flag also works on other OS environments.
  • Loading branch information
qianl15 committed Jul 28, 2024
1 parent 4f2b891 commit 2f714ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dbos-cloud/cli.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node --no-warnings=ExperimentalWarning
#!/usr/bin/env -S node --no-warnings=ExperimentalWarning

import { registerApp, listApps, deleteApp, deployAppCode, getAppLogs } from "./applications/index.js";
import { Command } from "commander";
Expand Down

0 comments on commit 2f714ff

Please sign in to comment.