Merge branch 'master' of github.com:inboxapp/edgehill

This commit is contained in:
Ben Gotow 2015-02-09 11:23:14 -08:00
commit 99ff91be3f
3 changed files with 7 additions and 8 deletions

View file

@ -6,6 +6,6 @@
"url": "https://github.com/atom/atom.git"
},
"dependencies": {
"atom-package-manager": "0.134.0"
"atom-package-manager": "0.135.0"
}
}

View file

@ -43,13 +43,13 @@
"less-cache": "0.21",
"marked": "^0.3",
"mixto": "^1",
"mkdirp": "0.3.5",
"mkdirp": "^0.5",
"nslog": "^2.0.0",
"oniguruma": "^4.0.0",
"optimist": "0.4.0",
"pathwatcher": "^3.1.0",
"pathwatcher": "^4.0",
"property-accessors": "^1",
"bluebird": "^2.6.4",
"bluebird": "^2.9",
"random-words": "0.0.1",
"react-atom-fork": "^0.11.5",
"reactionary-atom-fork": "^1.0.0",
@ -65,11 +65,10 @@
"space-pen": "3.8.2",
"stacktrace-parser": "0.1.1",
"temp": "0.7.0",
"text-buffer": "^4.0.0",
"text-buffer": "^4.0",
"theorist": "^1.0.2",
"underscore-plus": "^1.6.6",
"vm-compatibility-layer": "0.1.0",
"text-buffer": "^3.0.1",
"theorist": "^1",
"vm-compatibility-layer": "0.1.0",
"react": "^0.12.2",

View file

@ -3,6 +3,7 @@ fs = require 'fs'
ipc = require 'ipc'
path = require 'path'
shell = require 'shell'
mkdirp = require 'mkdirp'
Reflux = require 'reflux'
_ = require 'underscore-plus'
Actions = require '../actions'
@ -63,8 +64,7 @@ FileDownloadStore = Reflux.createStore
@_downloads = []
@_downloadDirectory = "#{atom.getConfigDirPath()}/downloads"
fs.exists @_downloadDirectory, (exists) =>
fs.mkdir(@_downloadDirectory) unless exists
mkdirp(@_downloadDirectory)
######### PUBLIC #######################################################