mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Remove usage of repository.async in Workspace
Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
committed by
Nathan Sobo
parent
47df8c5d77
commit
678d5b4c24
@@ -1097,7 +1097,7 @@ class Workspace extends Model
|
||||
checkoutHead = =>
|
||||
@project.repositoryForDirectory(new Directory(editor.getDirectoryPath()))
|
||||
.then (repository) ->
|
||||
repository?.async.checkoutHeadForEditor(editor)
|
||||
repository?.checkoutHeadForEditor(editor)
|
||||
|
||||
if @config.get('editor.confirmCheckoutHeadRevision')
|
||||
@applicationDelegate.confirm
|
||||
|
||||
Reference in New Issue
Block a user