From 2b626f2049f5dc69c65103d78701c87545c1f518 Mon Sep 17 00:00:00 2001 From: Ming Luo Date: Tue, 27 Oct 2015 17:40:46 -0400 Subject: [PATCH] Correction to linting PR Confused a variable 'path' for the node module 'Path' --- app/plugins/Files/js/helpers.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/plugins/Files/js/helpers.js b/app/plugins/Files/js/helpers.js index 7e458370..2a702e20 100644 --- a/app/plugins/Files/js/helpers.js +++ b/app/plugins/Files/js/helpers.js @@ -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