Skip to content

Commit 0db6674

Browse files
authored
fix(command-status): site info is missing for sites without netlify.toml (#1999)
1 parent 47e7244 commit 0db6674

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/commands/status/index.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ class StatusCommand extends Command {
5757

5858
this.log(prettyjson.render(cleanAccountData))
5959

60-
if (!site.configPath) {
61-
this.logJson({
62-
account: cleanAccountData,
63-
})
64-
this.exit()
65-
}
66-
6760
if (!siteId) {
6861
this.warn('Did you run `netlify link` yet?')
6962
this.error(`You don't appear to be in a folder that is linked to a site`)

0 commit comments

Comments
 (0)