mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add specs for save/saveAs error handling
This commit is contained in:
@@ -502,6 +502,7 @@ class Pane extends Model
|
||||
newItemPath = atom.showSaveDialogSync(itemPath)
|
||||
if newItemPath
|
||||
try
|
||||
console.log 'here?'
|
||||
item.saveAs(newItemPath)
|
||||
catch error
|
||||
@handleSaveError(error)
|
||||
|
||||
Reference in New Issue
Block a user