From 452bbb60c4f9c858ae2cc62146a30d4eab1c74a1 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 9 May 2016 17:12:17 +0200 Subject: [PATCH] use path.join --- renderer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/index.js b/renderer/index.js index c0cbc2ee..2779780c 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -26,7 +26,7 @@ var TorrentSummary = require('./lib/torrent-summary') var {setDispatch} = require('./lib/dispatcher') setDispatch(dispatch) -appConfig.filePath = config.CONFIG_PATH + path.sep + 'config.json' +appConfig.filePath = path.join(config.CONFIG_PATH, 'config.json') // Electron apps have two processes: a main process (node) runs first and starts // a renderer process (essentially a Chrome window). We're in the renderer process,