Remove myResolve local variable that I was using for debugging.

This commit is contained in:
Michael Bolin
2015-06-02 14:19:55 -04:00
parent 4330c3a181
commit fd670a4dd4

View File

@@ -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: