Skip to content

Commit

Permalink
chore(eslint): make eslint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Oct 27, 2017
1 parent 9c58052 commit 63c3dce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion test/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "hexo/test"
"extends": "hexo/test",
"env": {
"es6": true
}
}
2 changes: 1 addition & 1 deletion test/scripts/box/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('File', () => {
if (err) return callback(err);

//todo: cast dev to uint32 until https:/nodejs/node/issues/16496 is resolved
fileStats.dev = (new Uint32Array([fileStats.dev]))[0]
fileStats.dev = (new Uint32Array([fileStats.dev]))[0];
fileStats.should.eql(fs.statSync(file.source));
callback();
});
Expand Down

0 comments on commit 63c3dce

Please sign in to comment.