From 3e134454193bec6d5534632d922061aeb1e6242f Mon Sep 17 00:00:00 2001 From: ehmicky Date: Fri, 1 May 2020 14:54:00 +0200 Subject: [PATCH] Add required inputs --- manifest.yml | 1 + plugin/index.js | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/manifest.yml b/manifest.yml index 3a5f3c5..c308810 100644 --- a/manifest.yml +++ b/manifest.yml @@ -1,6 +1,7 @@ name: netlify-plugin-axe inputs: - name: checkPaths + required: true - name: resultMode - name: debugMode - name: testMode \ No newline at end of file diff --git a/plugin/index.js b/plugin/index.js index 8392953..12ad3bf 100644 --- a/plugin/index.js +++ b/plugin/index.js @@ -17,11 +17,6 @@ function netlifyPlugin(conf) { constants: { PUBLISH_DIR }, utils: { build } }) { - if (!checkPaths) { - build.failBuild( - `checkPaths is undefined - please specify some checkPaths` - ); - } const htmlFilePaths = await pluginCore.generateFilePaths({ fileAndDirPaths: checkPaths, PUBLISH_DIR