Skip to content

Commit 89e03af

Browse files
committed
Move code around for less changes
1 parent 2cb1d85 commit 89e03af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/init-action.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,11 @@ async function run(startedAt: Date) {
247247
getTemporaryDirectory(),
248248
logger,
249249
);
250-
250+
// Fetch the values of known repository properties that affect us.
251+
const repositoryPropertiesResult = await loadRepositoryProperties(
252+
repositoryNwo,
253+
logger,
254+
);
251255
// Create a unique identifier for this run.
252256
const jobRunUuid = uuidV4();
253257
logger.info(`Job run UUID is ${jobRunUuid}.`);
@@ -345,10 +349,6 @@ async function run(startedAt: Date) {
345349

346350
analysisKinds = await getAnalysisKinds(logger);
347351
const debugMode = getOptionalInput("debug") === "true" || core.isDebug();
348-
const repositoryPropertiesResult = await loadRepositoryProperties(
349-
repositoryNwo,
350-
logger,
351-
);
352352
const repositoryProperties = repositoryPropertiesResult.orElse({});
353353
const fileCoverageResult = await getFileCoverageInformationEnabled(
354354
debugMode,

0 commit comments

Comments
 (0)