[feat] Add fromPath to matcher template

This commit is contained in:
olemorud
2023-03-14 17:38:18 +01:00
parent b651f721c4
commit 0de4817981
5 changed files with 19 additions and 22 deletions

View File

@@ -21,7 +21,7 @@ const matcherPath = path.join(__dirname, "gcc_matcher.json");
// rootdir :: string
const rootdir = core.getInput('build-directory', {required: false});
// parse :: IO() => IO() => Error | null
// parse :: string => string => Error | null
const parse = (templatePath) => (matcherPath) => {
const content = fs.readFileSync(templatePath, 'utf-8');