Skip to content

Commit d0b30fd

Browse files
committed
Use build.failBuild()
1 parent 9b2a456 commit d0b30fd

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)