Skip to content

Commit 5cb12c4

Browse files
committed
Include "Result" in name
1 parent e8f4871 commit 5cb12c4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lib/init-action.js

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

src/init-action.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ async function run(startedAt: Date) {
243243
);
244244

245245
// Fetch the values of known repository properties that affect us.
246-
const repositoryProperties = await loadRepositoryProperties(
246+
const repositoryPropertiesResult = await loadRepositoryProperties(
247247
repositoryNwo,
248248
gitHubVersion,
249249
features,
@@ -369,11 +369,11 @@ async function run(startedAt: Date) {
369369
githubVersion: gitHubVersion,
370370
apiDetails,
371371
features,
372-
repositoryProperties: repositoryProperties.orElse({}),
372+
repositoryProperties: repositoryPropertiesResult.orElse({}),
373373
logger,
374374
});
375375

376-
if (repositoryProperties.isFailure()) {
376+
if (repositoryPropertiesResult.isFailure()) {
377377
addDiagnostic(
378378
config,
379379
// Arbitrarily choose the first language. We could also choose all languages, but that
@@ -383,7 +383,7 @@ async function run(startedAt: Date) {
383383
"codeql-action/repository-properties-load-failure",
384384
"Failed to load repository properties",
385385
{
386-
error: getErrorMessage(repositoryProperties.value),
386+
error: getErrorMessage(repositoryPropertiesResult.value),
387387
},
388388
),
389389
);

0 commit comments

Comments
 (0)