Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Update dependencies #327

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@
"dependencies": {
"delegato": "^1.0.0",
"diff": "^2.2.1",
"emissary": "^1.0.0",
"event-kit": "^2.4.0",
"emissary": "^1.3.3",
"event-kit": "^2.5.3",
"fs-admin": "^0.16.0",
"fs-plus": "^3.0.0",
"grim": "^2.0.2",
"mkdirp": "^0.5.1",
"fs-plus": "^3.1.1",
"grim": "^2.0.3",
"mkdirp": "^1.0.4",
"pathwatcher": "^8.1.0",
"serializable": "^1.0.3",
"superstring": "^2.4.4",
"underscore-plus": "^1.0.0",
"underscore-plus": "^1.7.0",
"winattr": "^3.0.0"
},
"standard": {
Expand Down
6 changes: 1 addition & 5 deletions src/text-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1912,11 +1912,7 @@ class TextBuffer {
try {
let destination
if (file instanceof File) {
await new Promise((resolve, reject) => {
mkdirp(path.dirname(filePath), error => {
error ? reject(error) : resolve()
})
})
await mkdirp(path.dirname(filePath))
destination = filePath
} else {
destination = file.createWriteStream()
Expand Down