Skip to content

Commit

Permalink
Fix file check
Browse files Browse the repository at this point in the history
  • Loading branch information
johno committed Apr 2, 2020
1 parent d8a4bec commit 96cb148
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const create = async ({ root }, { theme, path: filePath }) => {
const fullPath = path.join(root, filePath)
const { dir } = path.parse(fullPath)

if (fileExists(fullPath)) {
if (fileExists({ root }, { path: filePath })) {
return
}

Expand Down

0 comments on commit 96cb148

Please sign in to comment.