Skip to content

Commit c3dd0b1

Browse files
jaylinskiyyx990803
authored andcommitted
fix: correctly resolve not-found path (#90)
1 parent 24fff7b commit c3dd0b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prepare.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ async function resolveOptions (sourceDir) {
141141
}
142142
options.themePath = themePath
143143

144-
const notFoundPath = path.resolve(themeDir, '/NotFound.vue')
144+
const notFoundPath = path.resolve(themeDir, 'NotFound.vue')
145145
if (fs.existsSync(notFoundPath)) {
146146
options.notFoundPath = notFoundPath
147147
} else {

0 commit comments

Comments
 (0)