diff --git a/lib/utils/check-path.js b/lib/utils/check-path.js index 055abe9..2fad483 100644 --- a/lib/utils/check-path.js +++ b/lib/utils/check-path.js @@ -29,6 +29,10 @@ export default async dir => { } } + if (!location) { + return + } + let locationName switch (location) {