Skip to content

Commit

Permalink
Merge pull request balena-io#2413 from resin-io/fix-fs-promisify
Browse files Browse the repository at this point in the history
fix(gui): Fix missing promisify in file picker model
  • Loading branch information
jhermsmeier committed Jul 5, 2018
2 parents 2a9e996 + 872cd90 commit 9d7baa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/gui/app/models/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

'use strict'

const fs = require('fs')
const Bluebird = require('bluebird')
const fs = Bluebird.promisifyAll(require('fs'))
const path = require('path')
const drivelist = require('drivelist')

Expand Down

0 comments on commit 9d7baa8

Please sign in to comment.