From fd670a4dd4096413e65545d0c34ce27643febbbb Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Tue, 2 Jun 2015 14:19:55 -0400 Subject: [PATCH] Remove `myResolve` local variable that I was using for debugging. --- src/default-directory-searcher.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/default-directory-searcher.coffee b/src/default-directory-searcher.coffee index a1304d26c..af04792eb 100644 --- a/src/default-directory-searcher.coffee +++ b/src/default-directory-searcher.coffee @@ -8,9 +8,7 @@ class DirectorySearch @task = new Task(require.resolve('./scan-handler')) rootPaths = [directory.getPath()] @promise = new Promise (resolve, reject) => - myResolve = (arg) -> - resolve(arg) - @task.start(rootPaths, options.regexSource, options, myResolve) + @task.start(rootPaths, options.regexSource, options, resolve) @task.on('task:cancelled', reject) # Public: