Skip to content

Commit

Permalink
fix: correctly resolve not-found path (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaylinski authored and yyx990803 committed Apr 16, 2018
1 parent 24fff7b commit c3dd0b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c3dd0b1

Please sign in to comment.