File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1919 "clover" : {"file" : " coverage.clover.xml" },
2020 "html" : {"subdir" : " coverage.html" }
2121 },
22- "reports-dir" : " ./reports" ,
22+ "reports-dir" : " ./reports/coverage " ,
2323 "temp-directory" : " ./.c8.cache"
2424}
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ jobs:
138138 - name : collect coverage
139139 if : ${{ failure() || success() }}
140140 run : >
141- npx c8 report
142- --reporter clover
141+ npx c8 report
142+ --reporter clover
143143 --reports-dir '${{ env.REPORTS_DIR }}/coverage/${{ matrix.os }}_node${{ matrix.node-version }}'
144144 - name : artifact test reports
145145 if : ${{ ! cancelled() }}
Original file line number Diff line number Diff line change @@ -340,9 +340,11 @@ export class LicenseNormalizer extends BaseJsonNormalizer<Models.License> {
340340 return this . #normalizeSpdxLicense( data as Models . SpdxLicense , options )
341341 case data instanceof Models . LicenseExpression :
342342 return this . #normalizeLicenseExpression( data as Models . LicenseExpression )
343+ /* c8 ignore start */
343344 default :
344345 // this case is not expected to happen - and therefore is undocumented
345346 throw new TypeError ( 'Unexpected LicenseChoice' )
347+ /* c8 ignore end */
346348 }
347349 }
348350
Original file line number Diff line number Diff line change @@ -436,9 +436,11 @@ export class LicenseNormalizer extends BaseXmlNormalizer<Models.License> {
436436 return this . #normalizeSpdxLicense( data as Models . SpdxLicense , options )
437437 case data instanceof Models . LicenseExpression :
438438 return this . #normalizeLicenseExpression( data as Models . LicenseExpression )
439+ /* c8 ignore start */
439440 default :
440441 // this case is not expected to happen - and therefore is undocumented
441442 throw new TypeError ( 'Unexpected LicenseChoice' )
443+ /* c8 ignore end */
442444 }
443445 }
444446
You can’t perform that action at this time.
0 commit comments