web-component-analyzer icon indicating copy to clipboard operation
web-component-analyzer copied to clipboard

Wrong output with `--outFiles {dir}/{filename}`

Open timonson opened this issue 2 years ago • 0 comments

Hello,

there is a bug with --outFiles {dir}/{filename} on my Ubuntu machine.

I have this file tree: components/navbar/universal.js. Inside the parent directory of components I run : npx web-component-analyzer --dry "./components/**/*.js" --outDir comp --outFiles {dir}/{filename} and the output is ./comp/universal.md instead of ./comp/navbar/universal.md. When removing the --dry the written output is wrong accordingly.

I hope you can fix this. Is there a workaround in the meantime?

Thank you!

timonson avatar Sep 16 '23 18:09 timonson