Skip to content

Commit 3e13445

Browse files
committed
Add required inputs
1 parent 404b825 commit 3e13445

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

manifest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: netlify-plugin-axe
22
inputs:
33
- name: checkPaths
4+
required: true
45
- name: resultMode
56
- name: debugMode
67
- name: testMode

plugin/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ function netlifyPlugin(conf) {
1717
constants: { PUBLISH_DIR },
1818
utils: { build }
1919
}) {
20-
if (!checkPaths) {
21-
build.failBuild(
22-
`checkPaths is undefined - please specify some checkPaths`
23-
);
24-
}
2520
const htmlFilePaths = await pluginCore.generateFilePaths({
2621
fileAndDirPaths: checkPaths,
2722
PUBLISH_DIR

0 commit comments

Comments
 (0)