Support old and new formats

This commit is contained in:
Michael B. Gale
2026-06-26 18:09:25 +01:00
parent 812b882dee
commit f77cf557cd
4 changed files with 189 additions and 13 deletions

View File

@@ -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;
}