Skip to content

Commit 0a00d0c

Browse files
committed
Rename noCodeQLInToolcache
1 parent 6b34430 commit 0a00d0c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pr-checks/toolcache.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function findCodeQL() {
2828
return toolcache.findAllVersions("CodeQL");
2929
}
3030

31-
function noCodeQLInToolcache() {
31+
function checkNoCodeQLInToolcache() {
3232
const allCodeqlVersions = findCodeQL();
3333
if (allCodeqlVersions.length !== 0) {
3434
throw new Error(
@@ -77,7 +77,7 @@ function main() {
7777
removeCodeQLFromToolcache();
7878
return;
7979
case "absent":
80-
noCodeQLInToolcache();
80+
checkNoCodeQLInToolcache();
8181
return;
8282
case "installed":
8383
hasCodeQLInToolcache(values["expected-version-count"]);

0 commit comments

Comments
 (0)