From 438f80ee08cc09083f457dff42c657de6e688493 Mon Sep 17 00:00:00 2001 From: imfunny <36105478+imfunniee@users.noreply.github.com> Date: Thu, 23 May 2019 10:34:24 +0530 Subject: [PATCH] Update utils.js --- utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.js b/utils.js index 6d06861..bbdeddc 100644 --- a/utils.js +++ b/utils.js @@ -2,7 +2,7 @@ const path = require('path'); const bluebird = require('bluebird'); const fs = bluebird.promisifyAll(require('fs')); -const outDir = path.resolve(process.env.OUT_DIR || './dist/'); +const outDir = path.resolve('./dist/' || process.env.OUT_DIR); const configPath = path.join(outDir, 'config.json'); const blogPath = path.join(outDir, 'blog.json');