From ca91c8637cc76e3fd8ca45882ed6695977e34e84 Mon Sep 17 00:00:00 2001 From: Igor Igor Date: Fri, 13 Sep 2024 13:17:58 +0000 Subject: [PATCH] remove extra log during building stack --- src/lib/stack.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib/stack.ts b/src/lib/stack.ts index d87b6f8..abafe13 100644 --- a/src/lib/stack.ts +++ b/src/lib/stack.ts @@ -71,12 +71,8 @@ export async function publish( const headers = Object.assign(postData.getHeaders(), getBearer()) headers['Content-Length'] = await postData.getLengthSync() - - console.log('headers', headers) - console.log('data', postData) - const res = await api(`/stacks/${stackId}/versions`, postData, headers) - console.log('publish result', res) + return res } catch (error: any) { if (error.json) {