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

Skip to content

Conversation

@hjpatel16
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Jan 30, 2019

Codecov Report

Merging #712 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #712   +/-   ##
=======================================
  Coverage   86.71%   86.71%           
=======================================
  Files          16       16           
  Lines        1746     1746           
=======================================
  Hits         1514     1514           
  Misses        232      232
Impacted Files Coverage Δ
src/fs-watcher.js 92.3% <100%> (ø) ⬆️
src/shell/environment.js 100% <0%> (ø) ⬆️

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...ce8011f. Read the comment docs.

@DavidLi119
Copy link
Contributor

Hi hjpatel16, great edit of your file, however you forgot to change lines 14-16 from var to let/const. Also, though it may be redundant, please include a description of what you did to the code.

@hjpatel16
Copy link
Contributor Author

Thanks @DavidLi119, I was confused to use let for those remaining variables but I did make some changes

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.

This is looking good. I left a few notes of places where you should use const vs. let. Also, I notice that your Pull Request doesn't have a description. Make sure you always include one, and also reference the issue number you are fixing, for example, "Fixes #707".

Let me know when you've made these changes and pushed again, and I'll re-review.

}

var intercom = Intercom.getInstance();
let intercom = Intercom.getInstance();
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be const, since intercom won't change again.


self.close = function() {
var intercom = Intercom.getInstance();
let intercom = Intercom.getInstance();
Copy link
Contributor

Choose a reason for hiding this comment

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

Same thing here, you can use const

@Harsh2777
Copy link

Fixed #707 for fs-watcher.js file to use let and const instead of var where applicable. You can check under the files changed tab to review my changes

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.

Great, looks good.

@humphd humphd merged commit 701849e into filerjs:master Feb 1, 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.

5 participants