Improve warning message

This commit is contained in:
David Verdeguer 2020-09-25 11:28:57 +02:00
parent dffce9945c
commit 5419fcd735
3 changed files with 7 additions and 5 deletions

4
lib/init.js generated
View file

@ -138,7 +138,7 @@ async function installPythonDeps(codeql, logger) {
// This script tries to install some needed tools in the runner. It should not fail, but if it does
// we just abort the process without failing the action
logger.endGroup();
logger.warning("Unable to download and extract the tools needed for installing the python dependecies");
logger.warning("Unable to download and extract the tools needed for installing the python dependecies. You can call this action with 'setup-python-dependencies: false' to disable this process.");
}
}
// Install dependencies
@ -147,7 +147,7 @@ async function installPythonDeps(codeql, logger) {
}
catch (e) {
logger.endGroup();
logger.warning("We were unable to install your python dependencies.");
logger.warning("We were unable to install your python dependencies. You can call this action with 'setup-python-dependencies: false' to disable this process.");
}
logger.endGroup();
}