Skip to content

Commit 5419fcd

Browse files
committed
Improve warning message
1 parent dffce99 commit 5419fcd

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

lib/init.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/init.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export async function installPythonDeps(codeql: CodeQL, logger: Logger) {
206206
// we just abort the process without failing the action
207207
logger.endGroup();
208208
logger.warning(
209-
"Unable to download and extract the tools needed for installing the python dependecies"
209+
"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."
210210
);
211211
}
212212
}
@@ -219,7 +219,9 @@ export async function installPythonDeps(codeql: CodeQL, logger: Logger) {
219219
).exec();
220220
} catch (e) {
221221
logger.endGroup();
222-
logger.warning("We were unable to install your python dependencies.");
222+
logger.warning(
223+
"We were unable to install your python dependencies. You can call this action with 'setup-python-dependencies: false' to disable this process."
224+
);
223225
}
224226
logger.endGroup();
225227
}

0 commit comments

Comments
 (0)