Skip to content

Commit

Permalink
Uninstall chalk
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfries committed Sep 13, 2021
1 parent 7ffcc1b commit b3f98eb
Show file tree
Hide file tree
Showing 3 changed files with 13,065 additions and 12,380 deletions.
15 changes: 1 addition & 14 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ const mergeTrees = require('broccoli-merge-trees');
module.exports = {
name: require('./package').name,

_warn(message) {
let chalk = require('chalk');
let warning = chalk.yellow('WARNING: ' + message);

if (this.ui && this.ui.writeWarnLine) {
this.ui.writeWarnLine(message);
} else if (this.ui) {
this.ui.writeLine(warning);
} else {
console.log(warning); // eslint-disable-line no-console
}
},

init(app) {
this._super.init && this._super.init.apply(this, arguments);

Expand Down Expand Up @@ -55,7 +42,7 @@ module.exports = {
let bowerDeps = this.project.bowerDependencies();

if (bowerDeps['blob-polyfill']) {
this._warn(
console.warn(
'Please remove `blob-polyfill` from `bower.json`. As of ' +
'Ember localStorage 1.4.0 the `blob-polyfill` NPM ' +
'package is a dependency. If other code depends on the ' +
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"broccoli-funnel": "^2.0.1",
"broccoli-merge-trees": "^2.0.0",
"broccoli-stew": "^1.5.0",
"chalk": "^2.3.0",
"ember-cli-babel": "^7.26.6",
"ember-cli-htmlbars": "^5.7.1",
"ember-cli-string-utils": "^1.1.0",
Expand Down
Loading

0 comments on commit b3f98eb

Please sign in to comment.