@@ -508,7 +508,7 @@ export async function loadUserConfig(
508508 // Drop the explicit prefix if it is present. Since `REMOTE_PATH_PREFIX` is chosen
509509 // to not conflict with permissible characters in "owner" or "repo" components,
510510 // this does not risk removing valid parts of either component by accident.
511- if ( isRemotePath ( configFile ) ) {
511+ if ( isExplicitRemotePath ( configFile ) ) {
512512 configFile = configFile . substring ( REMOTE_PATH_PREFIX . length ) ;
513513 }
514514 return await getRemoteConfig ( actionState , configFile , apiDetails ) ;
@@ -1293,7 +1293,7 @@ export async function initConfig(
12931293 *
12941294 * @param configPath The path to test.
12951295 */
1296- function isRelativePath ( configPath : string ) : boolean {
1296+ function isExplicitLocalPath ( configPath : string ) : boolean {
12971297 return configPath . startsWith ( LOCAL_PATH_PREFIX ) ;
12981298}
12991299
@@ -1303,7 +1303,7 @@ function isRelativePath(configPath: string): boolean {
13031303 *
13041304 * @param configPath The path to test.
13051305 */
1306- function isRemotePath ( configPath : string ) : boolean {
1306+ function isExplicitRemotePath ( configPath : string ) : boolean {
13071307 return configPath . startsWith ( REMOTE_PATH_PREFIX ) ;
13081308}
13091309
@@ -1326,12 +1326,12 @@ function isLocal(configPath: string): boolean {
13261326 // If the path starts with `LOCAL_PATH_PREFIX`, it is explicitly local.
13271327 // This allows local paths that would otherwise contain '@'
13281328 // to be used with a `LOCAL_PATH_PREFIX` prefix.
1329- if ( isRelativePath ( configPath ) ) {
1329+ if ( isExplicitLocalPath ( configPath ) ) {
13301330 return true ;
13311331 }
13321332 // If the path starts with `REMOTE_PATH_PREFIX`, it is explicitly remote.
13331333 // This allows users to resolve ambiguity by specifying `REMOTE_PATH_PREFIX`.
1334- if ( isRemotePath ( configPath ) ) {
1334+ if ( isExplicitRemotePath ( configPath ) ) {
13351335 return false ;
13361336 }
13371337
0 commit comments