mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Merge pull request #1400 from atom/bo-fuck-rejection
Dont use reject in project::scan cancel
This commit is contained in:
@@ -300,7 +300,7 @@ class Project extends Model
|
||||
promise = deferred.promise
|
||||
promise.cancel = ->
|
||||
task.terminate()
|
||||
deferred.reject('cancelled')
|
||||
deferred.resolve('cancelled')
|
||||
promise
|
||||
|
||||
# Public: Performs a replace across all the specified files in the project.
|
||||
|
||||
Reference in New Issue
Block a user