mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Add large file issue link to large file error
This commit is contained in:
@@ -452,7 +452,7 @@ class Workspace extends Model
|
||||
item ?= atom.project.open(uri, options)
|
||||
catch error
|
||||
if error.name is 'OversizeFileError'
|
||||
atom.notifications.addWarning(error.message)
|
||||
atom.notifications.addWarning(error.message + " Large file support is being tracked at [atom/atom#307](https://github.com/atom/atom/issues/307).")
|
||||
else if error.code is 'ENOENT' and error.path?
|
||||
atom.notifications.addWarning("No such file '#{error.path}'")
|
||||
else if error.code is 'EACCES' and error.path?
|
||||
|
||||
Reference in New Issue
Block a user