From 9c27b5d17f3e2c54482be7df05577ca36dd824b3 Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Wed, 1 Feb 2023 10:56:08 -0800 Subject: Fix getting SHA for canary --- packages/bun-release/scripts/npm-postinstall.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/bun-release/scripts/npm-postinstall.ts') diff --git a/packages/bun-release/scripts/npm-postinstall.ts b/packages/bun-release/scripts/npm-postinstall.ts index bde044300..e0f5d5aaf 100644 --- a/packages/bun-release/scripts/npm-postinstall.ts +++ b/packages/bun-release/scripts/npm-postinstall.ts @@ -1,10 +1,10 @@ import { importBun, optimizeBun } from "../src/npm/install"; importBun() - .then((path) => { + .then(path => { optimizeBun(path); }) - .catch((error) => { + .catch(error => { console.error(error); process.exit(1); }); -- cgit v1.2.3