Skip to content

Commit d7cd639

Browse files
authored
Merge pull request #6 from fabidick22/refactor-outputs
refactor: build app
2 parents 89c2983 + 772818e commit d7cd639

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dist/index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8870,8 +8870,10 @@ async function setOutputs(files) {
88708870
pathsChanged.push(file.filename.split("/").slice(0, -1).join("/"))
88718871
filesChanged.push(file.filename)
88728872
})
8873-
core.setOutput("paths_changed", JSON.stringify([...new Set(pathsChanged)]))
8874-
core.setOutput("file_changed", JSON.stringify(filesChanged))
8873+
core.setOutput("paths_list", JSON.stringify([...new Set(pathsChanged)]))
8874+
core.setOutput("file_list", JSON.stringify([...new Set(filesChanged)]))
8875+
core.setOutput("paths_str", [...new Set(pathsChanged)].join())
8876+
core.setOutput("file_str", [...new Set(filesChanged)].join())
88758877
}
88768878

88778879
const main = async () => {
@@ -8895,7 +8897,7 @@ const main = async () => {
88958897
})
88968898

88978899
if (filteredFiles.length === 0) {
8898-
console.log("No matchs found.")
8900+
console.log("No matches found.")
88998901
console.log(`Raw input: ${path}`)
89008902
console.log(`Regex: ${regExp.toString()}`)
89018903
}

0 commit comments

Comments
 (0)