Do not warn users if a workflow cannot be read

This will still send a LintFailed message status report.
This commit is contained in:
Simon Engledew committed 2021-01-22 13:51:19 +00:00
1 parent 484a9ad67e
commit 4547749a2f
3 files changed
+1 -3

No files matched your search

-1
View File
@@ -294,7 +294,6 @@ async function getWorkflow() {
return yaml.safeLoad(fs.readFileSync(absolutePath, "utf-8"));
}
catch (e) {
core.warning(`Could not read workflow: ${e.toString()}`);
return undefined;
}
}