Skip to content

Commit

Permalink
ESLint fixes (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBuchholz committed Oct 30, 2018
1 parent 62c4540 commit ef3ebbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stream/wscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var
* @since 0.1.9
*/
close: function () {
return new Promise(function (resolve) {
return new Promise(function (resolve) {
this._file.Close();
resolve();
}.bind(this));
Expand All @@ -63,7 +63,7 @@ var
* @since 0.1.9
*/
read: _gpfStreamSecureRead(function (output) {
var me = this, //eslint-disable-line no-invalid-this
var me = this, //eslint-disable-line no-invalid-this
file = me._file;
return new Promise(function (resolve) {
function read () {
Expand Down Expand Up @@ -101,7 +101,7 @@ var
* @since 0.1.9
*/
write: _gpfStreamSecureWrite(function (buffer) {
var me = this, //eslint-disable-line no-invalid-this
var me = this, //eslint-disable-line no-invalid-this
file = me._file;
return new Promise(function (resolve) {
file.Write(buffer);
Expand Down

0 comments on commit ef3ebbd

Please sign in to comment.