Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Correction to linting PR
Browse files Browse the repository at this point in the history
Confused a variable 'path' for the node module 'Path'
  • Loading branch information
Mingling94 committed Oct 27, 2015
1 parent e58bd88 commit 2b626f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/plugins/Files/js/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ function hide(el) {
function hidden(el) {
return toElement(el).classList.contains('hidden');
}
function nameFromPath(Path) {
console.log(Path);
return Path.replace(/^.*[\\\/]/, '');
function nameFromPath(path) {
return path.replace(/^.*[\\\/]/, '');
}

// Convert to Siacoin
Expand Down

0 comments on commit 2b626f2

Please sign in to comment.