mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
paneItem -> item for consistency
This commit is contained in:
@@ -676,8 +676,8 @@ class Pane extends Model
|
||||
return false unless @promptToSaveItem(item)
|
||||
true
|
||||
|
||||
handleSaveError: (error, paneItem) ->
|
||||
itemPath = error.path ? paneItem.getPath?()
|
||||
handleSaveError: (error, item) ->
|
||||
itemPath = error.path ? item.getPath?()
|
||||
addWarningWithPath = (message, options) ->
|
||||
message = "#{message} '#{itemPath}'" if itemPath
|
||||
atom.notifications.addWarning(message, options)
|
||||
|
||||
Reference in New Issue
Block a user