From 8509600ea26be741e8dc15d3d7c3895fcd932445 Mon Sep 17 00:00:00 2001 From: "Anatoliy Osypenko (DreaMinder)" Date: Mon, 22 Jun 2020 21:01:17 +0300 Subject: [PATCH] fix command call bug --- bin/generate.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/generate.js b/bin/generate.js index eb4d781..b291093 100755 --- a/bin/generate.js +++ b/bin/generate.js @@ -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) } })() \ No newline at end of file diff --git a/package.json b/package.json index 4065fdd..57b0767 100644 --- a/package.json +++ b/package.json @@ -19,5 +19,5 @@ "type": "git", "url": "git+https://github.com/DreaMinder/nuxt-netlify-cache.git" }, - "version": "1.0.0" + "version": "1.0.1" } \ No newline at end of file