Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fs.read.spec.js #741

Merged
merged 2 commits into from
Feb 12, 2019
Merged

Update fs.read.spec.js #741

merged 2 commits into from
Feb 12, 2019

Conversation

ael-mas
Copy link
Contributor

@ael-mas ael-mas commented Feb 9, 2019

Updated let to const where appropriate

const fs = util.fs();
const wbuffer = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
const rbuffer = Buffer.alloc(wbuffer.length);
const _result = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be let, since it gets changed in lines 52 and 55 below. This is why travis is failing the build:

/home/travis/build/filerjs/filer/tests/spec/fs.read.spec.js
  52:11  error  '_result' is constant  no-const-assign
  55:13  error  '_result' is constant  no-const-assign

@codecov-io
Copy link

codecov-io commented Feb 12, 2019

Codecov Report

Merging #741 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #741   +/-   ##
======================================
  Coverage    86.6%   86.6%           
======================================
  Files          16      16           
  Lines        1739    1739           
======================================
  Hits         1506    1506           
  Misses        233     233

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3447ec9...0fe5384. Read the comment docs.

@humphd humphd merged commit 7ab6f5e into filerjs:master Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants