Merge pull request #8859 from atom/iz-fix-coffeelint-indent-error

Fix coffelint error causing Travis builds to fail
This commit is contained in:
Ivan Žužak
2015-09-21 20:28:47 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ module.exports =
try
error = null
symlinkCommandWithPrivilegeSync(commandPath, destinationPath)
catch error
catch err
error = err
callback?(error)

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)