fix(install): add error checking for binary move and chmod operations
All checks were successful
CI / Type Check & Lint (push) Successful in 5s
CI / Build Test (Current Platform) (push) Successful in 4s
Release / build-and-release (push) Successful in 47s
CI / Build All Platforms (push) Successful in 50s

- Check if mv command succeeds
- Verify binary exists after move
- Check if chmod succeeds
- Exit with error instead of continuing on failure
This commit is contained in:
2025-10-20 13:33:00 +00:00
parent f03c683d02
commit 18bd9f6cda
2 changed files with 12 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@serve.zone/nupst",
"version": "5.0.4",
"version": "5.0.5",
"exports": "./mod.ts",
"tasks": {
"dev": "deno run --allow-all mod.ts",