mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 13:10:06 +08:00
Disambiguate report messages
This commit is contained in:
@@ -327,12 +327,12 @@ export async function validateWorkflow(): Promise<undefined | string> {
|
||||
core.warning(formatWorkflowErrors(workflowErrors));
|
||||
}
|
||||
|
||||
return formatWorkflowCause(workflowErrors);
|
||||
return `warning: ${formatWorkflowCause(workflowErrors)}`;
|
||||
} catch (e) {
|
||||
return `getWorkflowErrors() failed: ${e.toString()}`;
|
||||
return `error: getWorkflowErrors() failed: ${e.toString()}`;
|
||||
}
|
||||
} catch (e) {
|
||||
return `getWorkflow() failed: ${e.toString()}`;
|
||||
return `error: getWorkflow() failed: ${e.toString()}`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user