diff --git a/bin/just.js b/bin/just.js index e8fe908..3abf711 100644 --- a/bin/just.js +++ b/bin/just.js @@ -26,6 +26,6 @@ try { ); } catch (err) { if ('status' in err) - exit(err.status); + process.exit(err.status); throw err; } diff --git a/package.json b/package.json index 96d63fa..83d9fc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "just-install", - "version": "2.0.1", + "version": "2.0.2", "description": "Install the Just command runner (https://just.systems) as part of `npm install` (Mac/Linux/Windows).", "main": "index.js", "type": "module",