Skip to content

Commit

Permalink
needed to build in order to release
Browse files Browse the repository at this point in the history
  • Loading branch information
bthaile committed Sep 30, 2022
1 parent 08ecf50 commit 42c0de1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ function run() {
core.setOutput('files', files);
let changes = '';
for (const file of files) {
core.setOutput(`${keyword} file compare: ${file}`, file.to.indexOf(keyword));
if (file.to.indexOf(keyword) >= 0) {
core.setFailed(message || `The code contains ${keyword}`);
}
for (const chunk of file.chunks) {
for (const change of chunk.changes) {
if (change.add) {
Expand Down

0 comments on commit 42c0de1

Please sign in to comment.