Skip to content

Commit d52924a

Browse files
committed
fix: remove duplicated paths
1 parent 44a26cc commit d52924a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ async function setOutputs(files) {
88
pathsChanged.push(file.filename.split("/").slice(0, -1).join("/"))
99
filesChanged.push(file.filename)
1010
})
11-
core.setOutput("paths_changed", JSON.stringify(pathsChanged))
11+
core.setOutput("paths_changed", JSON.stringify([...new Set(pathsChanged)]))
1212
core.setOutput("file_changed", JSON.stringify(filesChanged))
1313
}
1414

0 commit comments

Comments
 (0)