Skip to content

Commit

Permalink
Fix root-patterns input format
Browse files Browse the repository at this point in the history
  • Loading branch information
nafarlee committed Nov 30, 2023
1 parent e620196 commit 2d227a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24693,7 +24693,7 @@ function isEmpty(xs) {
}
function getInputs() {
const patterns = core.getMultilineInput("patterns");
const rootPatterns = core.getMultilineInput("rootPatterns");
const rootPatterns = core.getMultilineInput("root-patterns");
if (isEmpty(patterns) && isEmpty(rootPatterns)) {
throw new Error('Either "patterns" or "root-patterns" must be provided');
}
Expand Down
2 changes: 1 addition & 1 deletion main.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function isEmpty(xs) {

function getInputs() {
const patterns = core.getMultilineInput('patterns');
const rootPatterns = core.getMultilineInput('rootPatterns');
const rootPatterns = core.getMultilineInput('root-patterns');
if (isEmpty(patterns) && isEmpty(rootPatterns)) {
throw new Error('Either "patterns" or "root-patterns" must be provided');
}
Expand Down

0 comments on commit 2d227a6

Please sign in to comment.