Skip to content

Commit 65a54b4

Browse files
authored
chore: update deps (#651)
1 parent ab23cd0 commit 65a54b4

File tree

3 files changed

+697
-594
lines changed

3 files changed

+697
-594
lines changed

bin/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ async function main() {
142142
await Promise.all(
143143
inputSpecPaths.map(async (specPath) => {
144144
if (cli.flags.output !== "." && output === OUTPUT_FILE) {
145-
let outputDir = path.join(process.cwd(), cli.flags.output);
145+
let outputDir = path.resolve(process.cwd(), cli.flags.output);
146146
if (isGlob) {
147-
outputDir = path.join(outputDir, path.dirname(specPath)); // globs: use output dir + spec dir
147+
outputDir = path.resolve(outputDir, path.dirname(specPath)); // globs: use output dir + spec dir
148148
} else {
149149
outputDir = path.dirname(outputDir); // single files: just use output parent dir
150150
}

0 commit comments

Comments
 (0)