mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Support old and new formats
This commit is contained in:
@@ -34,7 +34,7 @@ export function getConfigFileRepoFormatInvalidMessage(
|
||||
configFile: string,
|
||||
): string {
|
||||
let error = `The configuration file "${configFile}" is not a supported remote file reference.`;
|
||||
error += " Expected format [<owner>/]<repository>[/<file-path>][@<ref>]";
|
||||
error += " Expected format [<owner>/]<repository>[@<ref>][:<file-path>]";
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user