@scoutello/i18n-magic
Version:
Intelligent CLI toolkit that automates internationalization workflows with AI-powered translations for JavaScript/TypeScript projects
13 lines • 456 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkMissing = void 0;
const utils_1 = require("../lib/utils");
const checkMissing = async (config) => {
const newKeys = await (0, utils_1.getMissingKeys)(config);
if (newKeys.length > 0) {
console.error("Error: Missing translations found!");
process.exit(1);
}
};
exports.checkMissing = checkMissing;
//# sourceMappingURL=check-missing.js.map