File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,8 @@ async function downloadAndExtractAction(actionRef) {
358358
359359// Run an action with Witness
360360async function runActionWithWitness ( actionDir , witnessOptions ) {
361- const {
361+ // Use 'let' so we can reassign values later
362+ let {
362363 step,
363364 archivistaServer,
364365 attestations,
@@ -422,7 +423,7 @@ async function runActionWithWitness(actionDir, witnessOptions) {
422423 const inputPrefix = 'input-' ;
423424 const nestedInputs = { } ;
424425
425- // Get all inputs that start with 'input- '
426+ // Get all inputs that start with 'INPUT_ '
426427 Object . keys ( process . env )
427428 . filter ( key => key . startsWith ( 'INPUT_' ) )
428429 . forEach ( key => {
@@ -572,7 +573,8 @@ function extractDesiredGitOIDs(output) {
572573
573574// Run a direct command with Witness
574575async function runDirectCommandWithWitness ( command , witnessOptions ) {
575- const {
576+ // Use 'let' so we can reassign values later
577+ let {
576578 step,
577579 archivistaServer,
578580 attestations,
@@ -728,4 +730,4 @@ run()
728730 core . debug ( 'Forcing process exit to prevent hanging' ) ;
729731 process . exit ( 1 ) ;
730732 } , 500 ) ;
731- } ) ;
733+ } ) ;
You can’t perform that action at this time.
0 commit comments