homey-lib
Advanced tools
Comparing version 2.21.2 to 2.21.3
@@ -13,2 +13,3 @@ /* eslint-disable global-require */ | ||
module.exports.openAsync = util.promisify(fs.open); | ||
module.exports.closeAsync = util.promisify(fs.close); | ||
module.exports.readAsync = util.promisify(fs.read); | ||
@@ -15,0 +16,0 @@ module.exports.statAsync = util.promisify(fs.stat); |
@@ -19,2 +19,3 @@ /* eslint-disable no-restricted-properties */ | ||
openAsync, | ||
closeAsync, | ||
readAsync, | ||
@@ -713,2 +714,3 @@ statAsync, | ||
await readAsync(fd, buffer, 0, numBytes, 0); | ||
await closeAsync(fd); | ||
return buffer; | ||
@@ -715,0 +717,0 @@ } |
{ | ||
"name": "homey-lib", | ||
"version": "2.21.2", | ||
"version": "2.21.3", | ||
"description": "Shared Library for Homey", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
858844
11832