From b4b0cf98d37be09e4717fb5c0fba3c5ed368bb51 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Thu, 27 Jun 2024 14:08:38 -0700 Subject: [PATCH] fix(launcher-spawn): use correct info() logging call --- .changeset/gorgeous-goats-shop.md | 5 +++++ packages/plugin-launcher-spawn/src/index.ts | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/gorgeous-goats-shop.md diff --git a/.changeset/gorgeous-goats-shop.md b/.changeset/gorgeous-goats-shop.md new file mode 100644 index 00000000..c329de60 --- /dev/null +++ b/.changeset/gorgeous-goats-shop.md @@ -0,0 +1,5 @@ +--- +'@pockethost/plugin-launcher-spawn': patch +--- + +Fix: now uses correct info() logging call diff --git a/packages/plugin-launcher-spawn/src/index.ts b/packages/plugin-launcher-spawn/src/index.ts index 91547a6f..f4dbb4e8 100644 --- a/packages/plugin-launcher-spawn/src/index.ts +++ b/packages/plugin-launcher-spawn/src/index.ts @@ -1,5 +1,4 @@ import { Mutex } from 'async-mutex' -import { info } from 'console' import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs' import getPort from 'get-port' import { gobot } from 'gobot' @@ -24,7 +23,7 @@ import { } from 'pockethost/core' import { gte } from 'semver' import { PLUGIN_NAME } from './constants' -import { dbg } from './log' +import { dbg, info } from './log' export type InstanceFields = { subdomain: string