zobro-cli 1.1.2 → 1.1.4

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.
Files changed (2) hide show
  1. package/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -4,8 +4,13 @@ const fs = require('fs');
4
4
  const path = require('path');
5
5
 
6
6
  // 🛡️ SECURE: This pulls the key from your computer's hidden settings
7
- const API_KEY = process.env.GEMINI_API_KEY;
8
7
 
8
+ const API_KEY = process.env.GEMINI_API_KEY;
9
+
10
+ if (!API_KEY) {
11
+ console.error('❌ ERROR: API Key not found on this system.');
12
+ // ... rest of your error message
13
+ }
9
14
  async function generateProject(prompt, directoryName) {
10
15
  if (!API_KEY) {
11
16
  console.error('❌ ERROR: API Key not found on this system.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zobro-cli",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "main": "index.js",
5
5
  "bin": {
6
6
  "zobro-cli": "./index.js"