UNPKG

typeorm-seeding

Version:

🌱 A delightful way to seed test data into your database.

22 lines 541 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var chalk = require("chalk"); /** * Prints the error to the console */ exports.printError = function (message, error) { console.log('\n❌ ', chalk.red(message)); if (error) { console.error(error); } }; /** * Prints the warning to the console */ exports.printWarning = function (message, error) { console.log('\n🚨 ', chalk.yellow(message)); if (error) { console.error(error); } }; //# sourceMappingURL=log.util.js.map