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(command-status): site info is missing for sites without netlify.toml #1999

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

erezrokah
Copy link
Contributor

- Summary

I noticed ntl status only prints the site information if the site has a netlify.toml.
This doesn't make sense to me.

site.configPath is used later on in the code in logJson and prettyjson.render. Both filter out undefined.

- Test plan

Run ntl status on a site without netlify.toml

- A picture of a cute animal (not mandatory but encouraged)
image

@erezrokah erezrokah requested a review from a team as a code owner March 15, 2021 15:53
@github-actions github-actions bot added the type: bug code to address defects in shipped code label Mar 15, 2021
@erezrokah erezrokah merged commit 0db6674 into master Mar 16, 2021
@erezrokah erezrokah deleted the fix/status_missing_siteinfo branch March 16, 2021 14:41
This was referenced Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants