nlu
Version:
Use this package to link your projects together for local development.
18 lines (17 loc) • 594 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("fs");
const logging_1 = require("../../logging");
const utils_1 = require("../../utils");
function default_1(opts, conf) {
fs.writeFile(utils_1.globalConfigFilePath, '{}', err => {
if (err) {
logging_1.default.error('Could not write out global config.');
logging_1.default.error('Here is the config object:', conf);
logging_1.default.error(err);
process.exit(1);
}
process.exit(0);
});
}
exports.default = default_1;