make-mp-data 1.2.1 → 1.2.2
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -460,12 +460,12 @@ if (require.main === module) {
|
|
|
460
460
|
if (complex) {
|
|
461
461
|
log(`... using default COMPLEX configuration [everything] ...\n`);
|
|
462
462
|
log(`... for more simple data, don't use the --complex flag ...\n`);
|
|
463
|
-
config = require(path.resolve("./models/complex.js"));
|
|
463
|
+
config = require(path.resolve(__dirname, "./models/complex.js"));
|
|
464
464
|
}
|
|
465
465
|
else {
|
|
466
466
|
log(`... using default SIMPLE configuration [events + users] ...\n`);
|
|
467
467
|
log(`... for more complex data, use the --complex flag ...\n`);
|
|
468
|
-
config = require(path.resolve("./models/simple.js"));
|
|
468
|
+
config = require(path.resolve(__dirname, "./models/simple.js"));
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
|