Skip to content

Commit

Permalink
seeli: unbind the chalk functions
Browse files Browse the repository at this point in the history
binding breaks the chainable builder functionality.
now you can do `seeli.blue.dim('test')`

Semver: patch
  • Loading branch information
esatterwhite committed Feb 11, 2018
1 parent c5edd04 commit f3f40da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ module.exports = {
};

colors.forEach(( color ) => {
module.exports[color] = chalk[color].bind( chalk );
module.exports[color] = chalk[color]
});

Object.defineProperties( module.exports, {
Expand Down

0 comments on commit f3f40da

Please sign in to comment.