mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Update error message
This commit is contained in:
@@ -142,8 +142,8 @@ class WorkspaceView extends View
|
||||
showErrorDialog = (error) ->
|
||||
installDirectory = CommandInstaller.getInstallDirectory()
|
||||
atom.confirm
|
||||
message: error.message
|
||||
detailedMessage: "Make sure #{installDirectory} exists and is writable. Run 'sudo mkdir -p #{installDirectory} && sudo chown $USER #{installDirectory}' to fix this problem."
|
||||
message: "Failed to install shell commands"
|
||||
detailedMessage: error.message
|
||||
|
||||
resourcePath = atom.getLoadSettings().resourcePath
|
||||
CommandInstaller.installAtomCommand resourcePath, (error) =>
|
||||
|
||||
Reference in New Issue
Block a user