Skip to content

Commit

Permalink
migrate to js action
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoireW committed Oct 15, 2024
1 parent 863c3c6 commit a3f9eed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dblinter-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function validateInputForExec(input) {
exit(1);
}
const regex = /^[a-zA-Z0-9.-_]+$/;
if(!regex.test(input)) {
core.setFailed(`${input} should only contain alphanumeric characters, dot, hyphens, underscores`);
if(!regex.test(value)) {
core.setFailed(`${input} should only contain alphanumeric characters, dot, hyphens, underscores. It is '${value}'`);
exit(1);
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit a3f9eed

Please sign in to comment.