Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vincentfullstack
Copy link

  • "var" was replaced with "let" or"const"
  • "use strict" is added to the file

@codecov-io
Copy link

codecov-io commented Jan 29, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #694   +/-   ##
=======================================
  Coverage   86.71%   86.71%           
=======================================
  Files          16       16           
  Lines        1746     1746           
=======================================
  Hits         1514     1514           
  Misses        232      232

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 26b47ee...00408f3. Read the comment docs.

@OlenaVyshnevska
Copy link
Contributor

Hey, I think it might be better to use const instead of let for fs and contents variables cause we aren't changing their values


it('should be a function', function() {
var fs = util.fs();
let fs = util.fs();
Copy link
Contributor

Choose a reason for hiding this comment

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

You might want to change let to const as we aren't changing "fs" value


it('should return an error if part of the parent destination path does not exist', function(done) {
var fs = util.fs();
let fs = util.fs();
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

Copy link
Contributor

@humphd humphd left a comment

Choose a reason for hiding this comment

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

Looks great

@humphd humphd merged commit e5481ef into filerjs:master Jan 31, 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.

4 participants