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:
parent
e62e4c05b3
commit
438f80ee08
1 changed files with 1 additions and 1 deletions
2
utils.js
2
utils.js
|
@ -2,7 +2,7 @@ const path = require('path');
|
||||||
const bluebird = require('bluebird');
|
const bluebird = require('bluebird');
|
||||||
const fs = bluebird.promisifyAll(require('fs'));
|
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 configPath = path.join(outDir, 'config.json');
|
||||||
const blogPath = path.join(outDir, 'blog.json');
|
const blogPath = path.join(outDir, 'blog.json');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue