From ef47e7610f1acda688f83d35292389f3daa3c743 Mon Sep 17 00:00:00 2001 From: Aravind Date: Mon, 27 May 2024 14:01:07 +0800 Subject: [PATCH] Remove debug logs --- scripts/publish.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/publish.js b/scripts/publish.js index 7d95456..290f457 100644 --- a/scripts/publish.js +++ b/scripts/publish.js @@ -2,16 +2,14 @@ import { npm } from './utils.js'; export default async function publish(name, version) { const isPre = version.includes('alpha') || version.includes('beta'); - console.log('Called publish', isPre); try { - const res = await npm( + await npm( name, 'publish', '--access', 'public', ...(isPre ? ['--tag', 'pre'] : []), ); - console.log('Publish result', res); console.log(`INFO [${name}] published`); } catch (e) { console.error(`ERROR [${name}] publishing failed`);