mirror of
https://github.com/github/codeql-action.git
synced 2025-12-22 23:30:05 +08:00
Tweak a couple of log messages
This commit is contained in:
2
lib/setup-codeql.test.js
generated
2
lib/setup-codeql.test.js
generated
@@ -103,7 +103,7 @@ ava_1.default.beforeEach(() => {
|
||||
t.is(source.toolsVersion, testing_utils_1.LINKED_CLI_VERSION.cliVersion);
|
||||
t.is(source.sourceType, "download");
|
||||
// Afterwards, ensure that we see the deprecation message in the log.
|
||||
const expected_message = "`tools: latest` has been renamed to `tools: linked`, but the old name is still supported for now. No action is required.";
|
||||
const expected_message = "`tools: latest` has been renamed to `tools: linked`, but the old name is still supported. No action is required.";
|
||||
t.assert(loggedMessages.some((msg) => typeof msg.message === "string" &&
|
||||
msg.message.includes(expected_message)));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user