Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
fix: fix the bug while creating log dir
Browse files Browse the repository at this point in the history
  • Loading branch information
neuqzxy committed Dec 3, 2018
1 parent 5f7bec1 commit 2641d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pomelo
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function start(opts) {

var logDir = path.resolve(opts.directory, 'logs');
if (!fs.existsSync(logDir)) {
fs.mkdir(logDir);
mkdir(logDir);
}

var ls;
Expand Down

0 comments on commit 2641d15

Please sign in to comment.