Fix documentation bug.

This commit is contained in:
Michael Bolin
2015-06-04 20:15:49 -04:00
parent 1a6c542b45
commit 535c0e2f34

View File

@@ -802,7 +802,7 @@ class Workspace extends Model
# * `onPathsSearched` (optional) {Function}
# * `iterator` {Function} callback on each file found
#
# Returns a *thenable* object with a `cancel()` method that will cancel all
# Returns a `Promise` with a `cancel()` method that will cancel all
# of the underlying searches that were started as part of this scan.
scan: (regex, options={}, iterator) ->
if _.isFunction(options)