refactor charts to do versioning instead of songs

This commit is contained in:
zkldi
2021-04-27 17:01:38 +01:00
parent 25dbf836c4
commit e319f88da8
4 changed files with 32 additions and 7 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import monk from "monk";
import fs from "fs";
import path from "path";
import { Command } from "commander";
import CreateLogCtx from "../logger";
import CreateLogCtx from "../src/logger";
const program = new Command();
@@ -24,7 +24,7 @@ const ktBlackDB = monk(`${process.env.MONGO_BASE_URL}/ktblackdb`);
logger.info(`Fetched ${data.length} documents, Writing...`);
fs.writeFileSync(
path.join(__dirname, `../test-utils/test-data/kamaitachi/ktblack-${collection}.json`),
path.join(__dirname, `../src/test-utils/test-data/kamaitachi/ktblack-${collection}.json`),
JSON.stringify(data)
);