mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Wrap temp.cleanupSync() calls in try-catch blocks
This commit is contained in:
@@ -21,7 +21,8 @@ describe "CommandInstaller on #darwin", ->
|
||||
spyOn(CommandInstaller::, 'getInstallDirectory').andReturn(installationPath)
|
||||
|
||||
afterEach ->
|
||||
temp.cleanupSync()
|
||||
try
|
||||
temp.cleanupSync()
|
||||
|
||||
it "shows an error dialog when installing commands interactively fails", ->
|
||||
appDelegate = jasmine.createSpyObj("appDelegate", ["confirm"])
|
||||
|
||||
Reference in New Issue
Block a user