Skip to content

Commit 184b994

Browse files
authored
Merge pull request #13 from ehmicky/chore/add-required-inputs
2 parents f62ea0b + 3e13445 commit 184b994

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-a11y
22
inputs:
33
- name: checkPaths
4+
required: true
45
- name: resultMode
56
default: error
67
- name: debugMode

plugin/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ function netlifyPlugin(conf) {
1515
constants: { PUBLISH_DIR },
1616
utils: { build }
1717
}) {
18-
if (!checkPaths) {
19-
build.failBuild(
20-
`checkPaths is undefined - please specify some checkPaths`
21-
);
22-
}
2318
const htmlFilePaths = await pluginCore.generateFilePaths({
2419
fileAndDirPaths: checkPaths,
2520
PUBLISH_DIR

0 commit comments

Comments
 (0)