mongossee 1.0.2 → 1.0.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.
- package/index.js +5 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
const path = require('path');
|
|
4
|
+
// 👇 Ye nayi line .env file ko sahi jagah (jaha script hai waha) dhoondhegi
|
|
5
|
+
require('dotenv').config({ path: path.join(__dirname, '.env') });
|
|
6
|
+
|
|
3
7
|
const fs = require('fs'); // Node.js File System
|
|
4
|
-
const path = require('path'); // Node.js Path module
|
|
8
|
+
//const path = require('path'); // Node.js Path module
|
|
5
9
|
const yargs = require('yargs/yargs');
|
|
6
10
|
const { hideBin } = require('yargs/helpers');
|
|
7
11
|
|