mirror of
https://github.com/github/codeql-action
synced 2026-05-23 20:00:54 +03:00
Use version in error message
This commit is contained in:
+1
-1
@@ -309,7 +309,7 @@ function generateJobMatrix(
|
||||
for (const version of checkSpecification.versions ?? defaultTestVersions) {
|
||||
if (version === "latest") {
|
||||
throw new Error(
|
||||
'Did not recognise "version: latest". Did you mean "version: linked"?',
|
||||
`Did not recognise "version: ${version}". Did you mean "version: linked"?`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user