1
0
Fork 0
mirror of https://github.com/dilllxd/gitfolio.git synced 2024-08-14 22:28:09 +00:00

Update utils.js

This commit is contained in:
imfunny 2019-05-23 10:34:24 +05:30 committed by GitHub
parent e62e4c05b3
commit 438f80ee08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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