Update autobuild and analysis path error messages.

This commit is contained in:
jhutchings1
2020-07-11 11:45:36 -07:00
parent 278f870907
commit 5fa6bd2622
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,6 +53,6 @@ export function includeAndExcludeAnalysisPaths(config: configUtils.Config, langu
config.pathsIgnore.length !== 0 ||
filters.length !== 0) &&
!languages.every(isInterpretedLanguage)) {
core.warning('The "paths"/"paths-ignore" fields of the config only have effect for Javascript and Python');
core.warning('The "paths"/"paths-ignore" fields of the configuration only effect Javascript and Python analysis. [Learn more](https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#specifying-directories-to-scan) about modifying the directories to scan. );
}
}
+1 -1
View File
@@ -35,7 +35,7 @@ async function run() {
core.endGroup();
} catch (error) {
core.setFailed("We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. " + error.message);
core.setFailed(`We were unable to automatically build your ${language} code. Please replace the call to the autobuild action with your custom build steps. \n` + error.message);
await util.reportActionFailed('autobuild', error.message, error.stack);
return;
}