Skip to content

Commit

Permalink
Fix: Adjust realMode method to avoid gid in the parse (fixes #103)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Nov 28, 2017
1 parent a6d4f7e commit 7be0cfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/dest.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var dataWrap = function(fn) {
};

var realMode = function(n) {
return n & parseInt('7777', 8);
return n & parseInt('777', 8);
};

describe('dest stream', function() {
Expand Down
2 changes: 1 addition & 1 deletion test/symlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var dataWrap = function(fn) {
};

var realMode = function(n) {
return n & parseInt("7777", 8);
return n & parseInt("777", 8);
};

describe('symlink stream', function() {
Expand Down

0 comments on commit 7be0cfd

Please sign in to comment.