Skip to content

Commit c98d5a9

Browse files
committed
Use checkoutPath and category constants consistently
1 parent b7c814c commit c98d5a9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lib/analyze-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/analyze-action.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ async function run() {
364364
uploadResults[analyses.AnalysisKind.CodeScanning] =
365365
await uploadLib.uploadFiles(
366366
outputDir,
367-
actionsUtil.getRequiredInput("checkout_path"),
368-
actionsUtil.getOptionalInput("category"),
367+
checkoutPath,
368+
category,
369369
features,
370370
logger,
371371
analyses.CodeScanning,
@@ -376,8 +376,8 @@ async function run() {
376376
uploadResults[analyses.AnalysisKind.CodeQuality] =
377377
await uploadLib.uploadFiles(
378378
outputDir,
379-
actionsUtil.getRequiredInput("checkout_path"),
380-
actionsUtil.getOptionalInput("category"),
379+
checkoutPath,
380+
category,
381381
features,
382382
logger,
383383
analyses.CodeQuality,

0 commit comments

Comments
 (0)