From c1d5304039930b9cac7e8f679e8240d514c735d2 Mon Sep 17 00:00:00 2001 From: agracio Date: Sun, 17 Nov 2024 21:54:14 +0000 Subject: [PATCH] updating code --- package.json | 4 ++-- src/xslt.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 52eec72..c7b11af 100644 --- a/package.json +++ b/package.json @@ -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", @@ -14,7 +14,7 @@ "url": "git@github.com:agracio/mochawesome-converter.git" }, "bugs": { - "url": "http://github.com/agracio/mochawesome-converter/issues" + "url": "https://github.com/agracio/mochawesome-converter/issues" }, "engines": { "node": ">= 18" diff --git a/src/xslt.js b/src/xslt.js index 8d0360b..64724cc 100644 --- a/src/xslt.js +++ b/src/xslt.js @@ -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);