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');