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

fix(doctor) skip validate config check for running instances #623

Merged
merged 1 commit into from
Feb 6, 2018

Conversation

aileen
Copy link
Member

@aileen aileen commented Feb 6, 2018

no issue

  • skips the validate config check when the tested instance is currently running, as it would fail for testing the server port

@aileen aileen requested a review from acburdine February 6, 2018 10:30
@@ -49,5 +49,10 @@ function validateConfig(ctx) {
module.exports = {
title: taskTitle,
task: validateConfig,
skip: (ctx) => {
const instance = ctx.system.getInstance();

This comment was marked as abuse.

This comment was marked as abuse.

@coveralls
Copy link

coveralls commented Feb 6, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 71c2142 on AileenCGN:skip-config-check into 324a080 on TryGhost:master.

no issue

- skips the validate config check when the tested instance is currently running, as it would fail for testing the server port
@aileen aileen force-pushed the skip-config-check branch from 4be4bb6 to 71c2142 Compare February 6, 2018 10:43
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 a94a987 into TryGhost:master Feb 6, 2018
@aileen aileen deleted the skip-config-check 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