Tweak wording of message

This commit is contained in:
Henry Mercer 2022-04-28 14:12:05 +01:00
parent 0256599547
commit 5227afabbe
6 changed files with 10 additions and 10 deletions

2
lib/util.test.js generated
View file

@ -307,7 +307,7 @@ for (const [version, githubVersion, shouldReportWarning,] of CHECK_ACTION_VERSIO
const isActionsStub = sinon.stub(util, "isActions").returns(true);
await util.checkActionVersion(version);
if (shouldReportWarning) {
t.true(warningSpy.calledOnceWithExactly(sinon.match("CodeQL Action version 1 will be deprecated")));
t.true(warningSpy.calledOnceWithExactly(sinon.match("CodeQL Action v1 will be deprecated")));
}
else {
t.false(warningSpy.called);