ember-cli-ajh
Version:
Command line tool for developing ambitious ember.js apps
18 lines (12 loc) • 346 B
JavaScript
;
var chalk = require('chalk');
module.exports = function(message, test) {
if(!test) { return; }
console.log(chalk.yellow('DEPRECATION: ' + message));
};
module.exports.deprecateUI = function(ui){
return function(message, test) {
if(!test) { return; }
ui.writeLine(chalk.yellow('DEPRECATION: ' + message));
};
};