Move tools config to tools.json

Refactor tools functions to use Records and object literals
This commit is contained in:
Shivam Mathur
2021-07-05 16:03:10 +05:30
parent 60ff774608
commit 6449431df2
11 changed files with 1239 additions and 833 deletions

View File

@ -27,7 +27,7 @@ export async function getScript(
const coverage_driver: string = await utils.getInput('coverage', false);
const tools_csv: string = await utils.getInput('tools', false);
let script: string = await utils.readScript(filename);
let script: string = await utils.readFile(filename, 'src/scripts');
script += await tools.addTools(tools_csv, version, os_version);
if (extension_csv) {