[Pkg-mozext-commits] [adblock-plus] 02/98: Noissue - Make sure to declare local variable properly

David Prévot taffit at moszumanska.debian.org
Tue Oct 24 01:30:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit b41441f6c71735ed5f6ec168cb0e6c321189ab85
Author: crackevil <crackevil at gmail.com>
Date:   Wed Apr 27 15:08:08 2016 +0200

    Noissue - Make sure to declare local variable properly
    
    Review: https://github.com/adblockplus/adblockplus/pull/4
---
 lib/io.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/io.js b/lib/io.js
index 23df1bd..d4392cb 100644
--- a/lib/io.js
+++ b/lib/io.js
@@ -266,7 +266,7 @@ let IO = exports.IO =
   {
     try
     {
-      toFile = fromFile.clone();
+      let toFile = fromFile.clone();
       toFile.leafName = newName;
       let promise = OS.File.move(fromFile.path, toFile.path);
       promise.then(callback.bind(null, null), callback);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list