Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Commit

Permalink
fix command call bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DreaMinder committed Jun 22, 2020
1 parent 4267d5b commit 8509600
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const execCommand = (cmd) => {
await restoreCache(paths)
await execCommand('nuxt export')
} else {
await execCommand('nuxt build && nuxt export')
await execCommand('nuxt build')
await execCommand('nuxt export')
await saveCache(paths)
}
})()
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"type": "git",
"url": "git+https://github.com/DreaMinder/nuxt-netlify-cache.git"
},
"version": "1.0.0"
"version": "1.0.1"
}

0 comments on commit 8509600

Please sign in to comment.