Improve warning message
This commit is contained in:
parent
dffce9945c
commit
5419fcd735
3 changed files with 7 additions and 5 deletions
4
lib/init.js
generated
4
lib/init.js
generated
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue