Skip to content

Commit

Permalink
chore(prestart): remove unuseful argument
Browse files Browse the repository at this point in the history
  • Loading branch information
a632079 committed Jun 14, 2020
1 parent dffe295 commit 1f3cbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prestart.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const fs = require('fs')
const util = require('util')
const dirname = path.join(__dirname, '../')

function setupWinston (configFile) {
function setupWinston () {
const logFile = nconf.get('log_path') || path.join(__dirname, '../', './data/logs/', pkg.name + '.log')
// createDir while running at docker
const dirPath = path.join(logFile, '../')
Expand Down

0 comments on commit 1f3cbf5

Please sign in to comment.