Skip to content

Commit

Permalink
path.basename fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
volovyks committed May 30, 2022
1 parent 8771cdf commit d8ee8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function build(argv) {

const SOURCE_FILE_WITH_PATH = argv.source;
const TARGET_DIR = path.dirname(argv.target);
const TARGET_FILE_NAME = path.basename(argv.target);
const TARGET_FILE_NAME = path.basename(argv.target, false);

const ROLLUP_TARGET = `${TARGET_DIR}${TARGET_FILE_NAME}.js`;
const QJS_TARGET = `${TARGET_DIR}/${TARGET_FILE_NAME}.h`;
Expand Down

0 comments on commit d8ee8a9

Please sign in to comment.