mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
fix(downloads): Create directory path with correct separator
Fixes #709
This commit is contained in:
parent
b11131d181
commit
eb21377f5f
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ FileDownloadStore = Reflux.createStore
|
|||
@listenTo Actions.didPassivelyReceiveNewModels, @_newMailReceived
|
||||
|
||||
@_downloads = {}
|
||||
@_downloadDirectory = "#{NylasEnv.getConfigDirPath()}/downloads"
|
||||
@_downloadDirectory = path.join(NylasEnv.getConfigDirPath(), 'downloads')
|
||||
mkdirp(@_downloadDirectory)
|
||||
|
||||
######### PUBLIC #######################################################
|
||||
|
|
Loading…
Reference in a new issue