We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba4f01f commit 62bd1d4Copy full SHA for 62bd1d4
bin/commands/config/create-env.js
@@ -1,3 +1,11 @@
1
+import fs from 'fs';
2
+import path from 'path';
3
+import { fileURLToPath } from 'url';
4
+import { formatSuccess } from '../../utils/formatting.js'; // Add the .js extension
5
+
6
+const __filename = fileURLToPath(import.meta.url);
7
+const __dirname = path.dirname(__filename);
8
9
export async function createEnvFile() {
10
try {
11
// Check if .mongodb-rag.json exists
0 commit comments