Skip to content

Commit 5a64f36

Browse files
authored
Merge pull request #7 from ehmicky/feat/fail-build
2 parents f3b8c72 + d0b30fd commit 5a64f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function netlifyPlugin(conf) {
1818
utils: { build }
1919
}) {
2020
if (!checkPaths) {
21-
throw new Error(
21+
build.failBuild(
2222
`checkPaths is undefined - please specify some checkPaths`
2323
);
2424
}

0 commit comments

Comments
 (0)