@rely-ai/caliber 1.19.0 → 1.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +3 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -8602,7 +8602,9 @@ acquireLock();
|
|
|
8602
8602
|
if (process.env.CALIBER_LOCAL) {
|
|
8603
8603
|
process.env.CALIBER_SKIP_UPDATE_CHECK = "1";
|
|
8604
8604
|
}
|
|
8605
|
-
var
|
|
8605
|
+
var userArgs = process.argv.slice(2);
|
|
8606
|
+
var hasCommand = userArgs.some((a) => !a.startsWith("-"));
|
|
8607
|
+
var isQuickExit = !hasCommand || ["--version", "-V", "--help", "-h"].some((f) => userArgs.includes(f));
|
|
8606
8608
|
if (!isQuickExit) {
|
|
8607
8609
|
await checkForUpdates();
|
|
8608
8610
|
}
|
package/package.json
CHANGED