diff --git a/plugin/index.js b/plugin/index.js index 67dcfdb..8392953 100644 --- a/plugin/index.js +++ b/plugin/index.js @@ -18,7 +18,7 @@ function netlifyPlugin(conf) { utils: { build } }) { if (!checkPaths) { - throw new Error( + build.failBuild( `checkPaths is undefined - please specify some checkPaths` ); }