Add test cases

pull/97/head
David Finol 2021-02-25 19:00:10 -06:00
parent 0eb0132878
commit 51f4a1bf7a
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,8 @@ class ResultsParser {
}
core.info(`Trying to open ${filepath}`);
const file = await fs.promises.readFile(filepath, 'utf8');
const rawFile = await fs.promises.readFile(filepath, 'utf8');
const file = rawFile.replace('/github/workspace/', '');
const results = xmljs.xml2js(file, { compact: true });
core.info(`File ${filepath} parsed...`);