Skip to content

Commit 74b5106

Browse files
committed
fix: copy reportDir option
1 parent 5304414 commit 74b5106

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

task.js

+2
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ const tasks = {
162162
if (nycReportOptions['report-dir']) {
163163
nycReportOptions['report-dir'] = resolve(nycReportOptions['report-dir'])
164164
}
165+
// seems nyc API really is using camel cased version
166+
nycReportOptions.reportDir = nycReportOptions['report-dir']
165167

166168
debug('calling NYC reporter with options %o', nycReportOptions)
167169
debug('current working directory is %s', process.cwd())

0 commit comments

Comments
 (0)