We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab23cd0 commit 65a54b4Copy full SHA for 65a54b4
bin/cli.js
@@ -142,9 +142,9 @@ async function main() {
142
await Promise.all(
143
inputSpecPaths.map(async (specPath) => {
144
if (cli.flags.output !== "." && output === OUTPUT_FILE) {
145
- let outputDir = path.join(process.cwd(), cli.flags.output);
+ let outputDir = path.resolve(process.cwd(), cli.flags.output);
146
if (isGlob) {
147
- outputDir = path.join(outputDir, path.dirname(specPath)); // globs: use output dir + spec dir
+ outputDir = path.resolve(outputDir, path.dirname(specPath)); // globs: use output dir + spec dir
148
} else {
149
outputDir = path.dirname(outputDir); // single files: just use output parent dir
150
}
0 commit comments