Skip to content

Commit 22db271

Browse files
committed
Await yargs
1 parent ebd8e7a commit 22db271

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import yargs from 'yargs'
66

77
import { createApp, createLogger, getConfig } from './index.js'
88

9-
const args = yargs(argv.slice(2))
9+
const args = await yargs(argv.slice(2))
1010
.describe('production', 'Run in production mode')
1111
.describe('test', 'Run in test mode')
1212
.boolean(['production', 'test'])

0 commit comments

Comments
 (0)