Skip to content

Commit

Permalink
fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
fivdi committed Feb 11, 2018
1 parent 05e4107 commit 2b79626
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions onoff.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ function Gpio(gpio, direction, edge, options) {
// versions of onoff, i.e., the Gpio constructor was and still is
// synchronous.
permissionRequiredPaths = [
this.gpioPath + 'direction',
this.gpioPath + 'active_low',
this.gpioPath + 'value',
this.gpioPath + 'direction',
this.gpioPath + 'active_low',
this.gpioPath + 'value',
];

if (edge) {
Expand Down
1 change: 0 additions & 1 deletion test/output-with-edge-bug.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// the sysfs edge file for an output GPIO results in an
// "EIO: i/o error, write"


var Gpio = require('../onoff').Gpio,
assert = require('assert');

Expand Down

0 comments on commit 2b79626

Please sign in to comment.