@pollinations/cli 0.1.90 → 0.1.91
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var init_package = __esm({
|
|
|
14
14
|
"package.json"() {
|
|
15
15
|
package_default = {
|
|
16
16
|
name: "@pollinations/cli",
|
|
17
|
-
version: "0.1.
|
|
17
|
+
version: "0.1.91",
|
|
18
18
|
description: "The Pollinations CLI \u2014 for humans, AI agents, and everything in between",
|
|
19
19
|
type: "module",
|
|
20
20
|
bin: {
|
|
@@ -551,7 +551,7 @@ async function showAuthStatus() {
|
|
|
551
551
|
authenticated: false,
|
|
552
552
|
message: "Not logged in. Run: polli auth login"
|
|
553
553
|
});
|
|
554
|
-
|
|
554
|
+
throw new ExitSignal(1);
|
|
555
555
|
}
|
|
556
556
|
const masked = `${key.slice(0, 5)}...${key.slice(-6)}`;
|
|
557
557
|
const rejectedKey = (error) => error instanceof ApiError && error.status === 401 ? error : null;
|
|
@@ -569,7 +569,7 @@ async function showAuthStatus() {
|
|
|
569
569
|
key: masked,
|
|
570
570
|
status: "API key rejected. Run: polli auth login"
|
|
571
571
|
});
|
|
572
|
-
|
|
572
|
+
throw new ExitSignal(1);
|
|
573
573
|
}
|
|
574
574
|
if (!profile) {
|
|
575
575
|
printResult({
|