From 488c9b580600ff997b232dfe3c418b1bf8085b95 Mon Sep 17 00:00:00 2001 From: Jay Linski Date: Tue, 17 Apr 2018 00:58:29 +0200 Subject: [PATCH] Correctly resolve not-found path --- lib/prepare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prepare.js b/lib/prepare.js index a62dc0732f..f3439cb2e3 100644 --- a/lib/prepare.js +++ b/lib/prepare.js @@ -141,7 +141,7 @@ async function resolveOptions (sourceDir) { } options.themePath = themePath - const notFoundPath = path.resolve(themeDir, '/NotFound.vue') + const notFoundPath = path.resolve(themeDir, 'NotFound.vue') if (fs.existsSync(notFoundPath)) { options.notFoundPath = notFoundPath } else {