From eedf136bb7cc941a0895f492067592be0109d6cf Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sat, 14 Sep 2024 09:42:48 +0200 Subject: [PATCH] fix exclude option --- action.yml | 1 + test/action.test.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d3da3eb..2d86255 100644 --- a/action.yml +++ b/action.yml @@ -24,6 +24,7 @@ inputs: exclude: description: 'Patterns to exclude from returned prerequisites' required: false + default: '' outputs: perl: diff --git a/test/action.test.mjs b/test/action.test.mjs index 3fdab9d..be42a8d 100644 --- a/test/action.test.mjs +++ b/test/action.test.mjs @@ -43,7 +43,7 @@ describe('GitHub action', function () { phases: 'test', relationships: 'recommends', features: '', - excludes: '', + exclude: '', }); expect(outputs).to.be.deep.equal({ 'prereqs': 'CPAN::Meta~2.120900\n',