From 0de2ba50520c495c1772eea24482a8ecd25d946f Mon Sep 17 00:00:00 2001 From: erezrokah Date: Mon, 15 Mar 2021 15:54:42 +0100 Subject: [PATCH] fix(command-status): site info is missing for sites without netlify.toml --- src/commands/status/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/commands/status/index.js b/src/commands/status/index.js index d133b7398a1..cd24ff7fe8e 100644 --- a/src/commands/status/index.js +++ b/src/commands/status/index.js @@ -57,13 +57,6 @@ class StatusCommand extends Command { this.log(prettyjson.render(cleanAccountData)) - if (!site.configPath) { - this.logJson({ - account: cleanAccountData, - }) - this.exit() - } - if (!siteId) { this.warn('Did you run `netlify link` yet?') this.error(`You don't appear to be in a folder that is linked to a site`)