Skip to content

Commit

Permalink
Fix: Output filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlei committed Jan 9, 2024
1 parent 6f9942d commit 8627a90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29232,10 +29232,10 @@ async function run () {
.filter(({ status }) => excludeStatuses.length === 0 || !excludeStatuses.includes(status))
.map(({ filename }) => filename)

core.setOutput('changed-filenames', changedFilenames)
core.setOutput('filenames', changedFilenames)
core.setOutput('json', compare)

core.group('Output - changed-filenames', () => core.info(util.inspect(changedFilenames)))
core.group('Output - filenames', () => core.info(util.inspect(changedFilenames)))
core.group('Output - json', () => core.info(util.inspect(compare)))
}

Expand Down
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ async function run () {
.filter(({ status }) => excludeStatuses.length === 0 || !excludeStatuses.includes(status))
.map(({ filename }) => filename)

core.setOutput('changed-filenames', changedFilenames)
core.setOutput('filenames', changedFilenames)
core.setOutput('json', compare)

core.group('Output - changed-filenames', () => core.info(util.inspect(changedFilenames)))
core.group('Output - filenames', () => core.info(util.inspect(changedFilenames)))
core.group('Output - json', () => core.info(util.inspect(compare)))
}

Expand Down

0 comments on commit 8627a90

Please sign in to comment.