zobro-cli 1.1.2 → 1.1.3
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/index.js +6 -1
- 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.');
|