From 2d227a6474df2b663c7cb25383f15dd35425f84a Mon Sep 17 00:00:00 2001 From: Nicholas Farley Date: Thu, 30 Nov 2023 13:52:31 -0500 Subject: [PATCH] Fix root-patterns input format --- dist/main.js | 2 +- main.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index e2b44f9..bf2403b 100755 --- a/dist/main.js +++ b/dist/main.js @@ -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'); } diff --git a/main.mjs b/main.mjs index 3948c26..7a5fc8b 100755 --- a/main.mjs +++ b/main.mjs @@ -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'); }