UNPKG

@appworks/doctor

Version:

Analyse and running codemods over react/rax projects, troubleshooting and automatically fixing errors

12 lines (11 loc) 407 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var fs = require("fs-extra"); var path_1 = require("path"); var config_1 = require("../../config"); var tempFileDir = process.argv.slice(2)[0]; function run() { var result = { score: 0, reports: [] }; fs.writeFileSync(path_1.join(tempFileDir, config_1.default.tmpFiles.report.escomplex), JSON.stringify(result)); } run();