Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report is generated in wrong path when no -f/--reportFilename specify on Windows #165

Open
lhtrang opened this issue Apr 9, 2021 · 1 comment

Comments

@lhtrang
Copy link

lhtrang commented Apr 9, 2021

Steps

Using GitBash

  1. git clone https://github.com/adamgruber/mochawesome-report-generator.git
  2. npm install -g mochawesome-report-generator (ver 5.2.0)
  3. cd mochawesome-report-generator
  4. marge test/sample-data/test.json -o test/report

Expected

✓ Reports saved:
...\mochawesome-report-generator\test\report\test.html

Actual

✓ Reports saved:
...\mochawesome-report-generator\test\report\test\sample-data\test.html

Note

On Linux it works well.
On Windows I need to specify report file name: marge test/sample-data/test.json -o test/report -f test.html

@sajidbashir123
Copy link

Thanks, works like a charm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants