Skip to content

Commit c17726e

Browse files
committed
fix --hackmud-path option not working
1 parent 06a037b commit c17726e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/hsm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ function logError(message: string) {
534534
}
535535

536536
function getHackmudPath() {
537-
const hackmudPathOption = popOption(`hackmud-path`)
537+
const hackmudPathOption = popOption(`hackmud-path`)?.value
538538

539539
if (hackmudPathOption != undefined && typeof hackmudPathOption != `string`) {
540540
logError(`Option ${colourN(`--hackmud-path`)} must be a string, got ${colourV(hackmudPathOption)}\n`)

0 commit comments

Comments
 (0)