Update error message

This commit is contained in:
probablycorey
2014-02-13 09:54:03 -08:00
parent a428b03db5
commit 3053760880

View File

@@ -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) =>