Skip to content

Commit

Permalink
Merge pull request #809 from gympass/fix-prepublish
Browse files Browse the repository at this point in the history
fix: fix prepublish
  • Loading branch information
flavia-moraes authored May 17, 2024
2 parents 63ab2bb + 7a3d29c commit 83c0067
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/prepublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ 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 ${
pkg.name
}${outDir.replace('.', '')}`,
);
} catch (error) {
console.log(error);

fetch(
`https://ctk.gympass.com/static/p.gif?error=${JSON.stringify(error)}`,
);
Expand Down

0 comments on commit 83c0067

Please sign in to comment.