Skip to content

Commit

Permalink
fix(spawn): power-save-mode param invalid
Browse files Browse the repository at this point in the history
Ref: spf13/cobra#613 (comment)

Signed-off-by: Kevin Cui <[email protected]>
  • Loading branch information
BlackHole1 committed Jan 24, 2024
1 parent cfad00d commit 50c6851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class DarwinOVM {
"-versions", versions,
"-event-socket-path", this.eventSocketPath,
"-bind-pid", String(process.pid),
"-power-save-mode", String(this.options.powerSaveMode),
`-power-save-mode=${String(this.options.powerSaveMode)}`,
], {
timeout: 0,
windowsHide: true,
Expand Down

0 comments on commit 50c6851

Please sign in to comment.