mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Remove myResolve local variable that I was using for debugging.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user