Skip to content

Commit

Permalink
Fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kemmerle committed Jan 7, 2025
1 parent 27ba0ca commit 2385d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/hubdb/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ exports.handler = async options => {
const filePath =
'path' in options
? path.resolve(getCwd(), options.path)
: await selectPathPrompt(options);
: path.resolve(getCwd(), (await selectPathPrompt(options)).path);
if (!checkAndConvertToJson(filePath)) {
process.exit(EXIT_CODES.ERROR);
}
Expand Down

0 comments on commit 2385d98

Please sign in to comment.