Skip to content

Commit b6be81d

Browse files
committed
Gate new remote file format behind FF
1 parent 7b2af89 commit b6be81d

5 files changed

Lines changed: 267 additions & 245 deletions

File tree

lib/entry-points.js

Lines changed: 16 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/config/file.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
RepositoryPropertyName,
99
} from "../feature-flags/properties";
1010
import { Logger } from "../logging";
11-
import { ConfigurationError, getEnv } from "../util";
11+
import { ConfigurationError } from "../util";
1212

1313
import { parseUserConfig, UserConfig } from "./db-config";
1414
import { parseRemoteFileAddress } from "./remote-file";
@@ -55,7 +55,7 @@ export async function getRemoteConfig(
5555
configFile: string,
5656
apiDetails: api.GitHubApiCombinedDetails,
5757
): Promise<UserConfig> {
58-
const address = parseRemoteFileAddress(getEnv(), configFile);
58+
const address = await parseRemoteFileAddress(actionState, configFile);
5959

6060
const response = await api
6161
.getApiClientWithExternalAuth(apiDetails)

0 commit comments

Comments
 (0)