From 7a3d29c79c391d2b6d4d9656ef869618f2258c6b Mon Sep 17 00:00:00 2001 From: flavia-moraes Date: Fri, 17 May 2024 11:26:50 -0300 Subject: [PATCH] fix: fix prepublish --- scripts/prepublish.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/prepublish.js b/scripts/prepublish.js index 0a5faf6e4d..2969204ecf 100644 --- a/scripts/prepublish.js +++ b/scripts/prepublish.js @@ -50,7 +50,7 @@ const run = () => { try { const distFiles = [...['README.md'].map(copyFile), createPackageJson()]; - console.lot('Dist files: ', distFiles); + console.log('Dist files: ', distFiles); console.log( `Created ${distFiles.map(file => file).join(', ')} in ${ @@ -58,6 +58,8 @@ const run = () => { }${outDir.replace('.', '')}`, ); } catch (error) { + console.log(error); + fetch( `https://ctk.gympass.com/static/p.gif?error=${JSON.stringify(error)}`, );