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) show help message for install folder checks #626

Merged
merged 1 commit into from
Feb 6, 2018

Conversation

aileen
Copy link
Member

@aileen aileen commented Feb 6, 2018

no issue

  • show clearer error message and help link to the docs, when install directory doesn't have the right permissions

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

coveralls commented Feb 6, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 09da7b1 on AileenCGN:improve-help-message into a195fc1 on TryGhost:master.

@@ -10,8 +11,8 @@ const taskTitle = 'Checking current folder permissions';
function installFolderPermissions(ctx) {
return fs.access(process.cwd(), constants.R_OK | constants.W_OK).catch(() => {
return Promise.reject(new errors.SystemError({
message: `The current directory is not writable.
Please fix your directory permissions.`,
message: 'The current directory is not writable. Please fix permissions of your install directory.',

This comment was marked as abuse.

no issue

- show clearer error message and help link to the docs, when install directory doesn't have the right permissions
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.

lgtm 👍

@acburdine acburdine merged commit 0c81bab into TryGhost:master Feb 6, 2018
@aileen aileen deleted the improve-help-message 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