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

Surface httpUseLocalhost in the hs doctor check #1391

Merged
merged 5 commits into from
Mar 12, 2025

Conversation

brandenrodgers
Copy link
Contributor

Description and Context

This sets up the hs doctor command to be able to surface warnings when certain CLI settings are enabled. For now it's just surfacing a warning when httpUseLocalhost is true.

Screenshots

image

TODO

Who to Notify

@brandenrodgers
Copy link
Contributor Author

The screenshot is slightly outdated. I updated the copy to: The setting {{#bold}}httpUseLocalhost{{/bold}} is enabled

@@ -36,6 +39,7 @@ export interface DiagnosticInfo extends FilesInfo {
path?: string;
versions: { [hubspotCli]: string; node: string; npm: string | null };
config: string | null;
configSettings: Record<string, unknown>;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we're staying away from the Record pattern in favor of a plain object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah good catch. I fixed this in one place and forgot to do it here too

@brandenrodgers brandenrodgers merged commit f1017ba into main Mar 12, 2025
1 check passed
@brandenrodgers brandenrodgers deleted the br/surface-uselocalhost-in-doctor branch March 12, 2025 20:10
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