-
Notifications
You must be signed in to change notification settings - Fork 89
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
Feat: customize reportDir #136
base: master
Are you sure you want to change the base?
Conversation
Not sure if this is really needed. You can specify a path relative to If your current directory is
|
Yes, to specify a path relative can resolve the problem, but it will be not super neat in my case, like:
I've made the same PR for mochawesome-merge Anyway, it is not a block, (if it is) just a little improvement by my side. You can close this if it is necessary from most use case |
Hey guy, thanks for the great work of
mochawesome-report-generator
.I noticed that in
getFilename
function, it returns withpath.resolve(process.cwd(), reportDir, filename)
. I've made this PR to add arootDir
option which equalsprocess.cwd()
by default.Thanks again and wait for your reply.