Use thin arrow where possible

This commit is contained in:
Ivan Zuzak
2015-09-21 12:55:12 +02:00
parent d79855993b
commit fd9f483486

View File

@@ -933,7 +933,7 @@ class Workspace extends Model
#
# Returns a `Promise`.
replace: (regex, replacementText, filePaths, iterator) ->
new Promise (resolve, reject) =>
new Promise (resolve, reject) ->
openPaths = (buffer.getPath() for buffer in atom.project.getBuffers())
outOfProcessPaths = _.difference(filePaths, openPaths)