Skip to content

Commit

Permalink
updating code
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Nov 17, 2024
1 parent 83dfb3f commit c1d5304
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mochawesome-converter",
"version": "1.0.0",
"version": "1.0.1",
"description": "Test report files to Mochawesome and JUnit converter",
"main": "src/converter.js",
"types": "index.d.ts",
Expand All @@ -14,7 +14,7 @@
"url": "[email protected]:agracio/mochawesome-converter.git"
},
"bugs": {
"url": "http://github.com/agracio/mochawesome-converter/issues"
"url": "https://github.com/agracio/mochawesome-converter/issues"
},
"engines": {
"node": ">= 18"
Expand Down
2 changes: 1 addition & 1 deletion src/xslt.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function convert(options, xsltFile){
xml = await xslt.xsltProcess(xmlParser.xmlParse(xmlString), xmlParser.xmlParse(xsltString));
}
catch (e) {
throw `\nCould not process XML file ${xmlString} using XSLT ${xsltString} \n${e.message}`;
throw `\nCould not process XML file ${options.testFile} using XSLT ${xsltFile} \n${e}`;
}

await processXml(options, xml);
Expand Down

0 comments on commit c1d5304

Please sign in to comment.