Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(doctor): improve permission denied error message #627

Merged
merged 1 commit into from
Feb 6, 2018

Conversation

aileen
Copy link
Member

@aileen aileen commented Feb 6, 2018

no issue

  • improve error message and tests for permissions checks, when permission denied

@aileen aileen requested a review from acburdine February 6, 2018 15:21
@coveralls
Copy link

coveralls commented Feb 6, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling d36dc36 on AileenCGN:fix-permissions-checks-messages into a195fc1 on TryGhost:master.

return Promise.reject(new errors.SystemError({message: errMsg, err: error, task: task}));
return Promise.reject(new errors.SystemError({
message: errMsg,
help: checkTypes.folder.help,

This comment was marked as abuse.

This comment was marked as abuse.

Copy link
Member

@acburdine acburdine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nvm - misread the code 👍

return Promise.reject(new errors.SystemError({message: errMsg, err: error, task: task}));
return Promise.reject(new errors.SystemError({
message: errMsg,
help: checkTypes.folder.help,

This comment was marked as abuse.

no issue

- improve error message and tests for permissions checks, when permission denied
@aileen aileen force-pushed the fix-permissions-checks-messages branch from 6daa062 to d36dc36 Compare February 6, 2018 15:33
@aileen aileen changed the title fix(doctor) show correct help messages feat(doctor): improve permission denied error message Feb 6, 2018
@acburdine acburdine merged commit 9af537e into TryGhost:master Feb 6, 2018
@aileen aileen deleted the fix-permissions-checks-messages branch May 10, 2018 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants