mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Merge pull request #8859 from atom/iz-fix-coffeelint-indent-error
Fix coffelint error causing Travis builds to fail
This commit is contained in:
@@ -70,6 +70,7 @@ module.exports =
|
||||
try
|
||||
error = null
|
||||
symlinkCommandWithPrivilegeSync(commandPath, destinationPath)
|
||||
catch error
|
||||
catch err
|
||||
error = err
|
||||
|
||||
callback?(error)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user