From ae62022f6bdfeed9f32f42f8a53f050648913a26 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Tue, 4 Oct 2022 16:47:36 -0600 Subject: [PATCH] fix: logging --- src/testSession.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/testSession.ts b/src/testSession.ts index e52cef78..313cdb7e 100644 --- a/src/testSession.ts +++ b/src/testSession.ts @@ -303,6 +303,8 @@ export class TestSession extends AsyncOptionalCreatable { // Executes commands and keeps track of any orgs created. // Throws if any commands return a non-zero exitCode. private async createOrgs(orgs: ScratchOrgConfig[] = []): Promise { + if (orgs.length === 0) return; + const dbug = debug('testkit:createOrgs'); const setup = () => { for (const org of orgs) {