From c3dd0b156cb3cae4fa6d673566da2d6d42fd2e04 Mon Sep 17 00:00:00 2001 From: Jay Linski Date: Tue, 17 Apr 2018 01:13:19 +0200 Subject: [PATCH] fix: correctly resolve not-found path (#90) --- lib/prepare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prepare.js b/lib/prepare.js index a62dc073..f3439cb2 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 { -- GitLab