Skip to content

Commit e56c2b8

Browse files
committed
chore: replace chalk with colors
1 parent 1ae3d9e commit e56c2b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bin/wiby

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ process.on('unhandledRejection', (err) => {
99

1010
require('dotenv').config()
1111

12-
const chalk = require('chalk')
12+
const colors = require('colors/safe');
1313
const yargs = require('yargs')
1414

1515
yargs
@@ -24,7 +24,7 @@ yargs
2424
}
2525

2626
if (msg) {
27-
console.error(chalk.red.bold(msg));
27+
console.error(colors.red.bold(msg));
2828
console.error();
2929
}
3030

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"dependencies": {
3232
"@octokit/graphql": "^4.5.0",
3333
"@octokit/rest": "^18.0.0",
34-
"chalk": "^4.1.0",
34+
"colors": "^1.4.0",
3535
"debug": "^4.3.1",
3636
"dotenv": "^10.0.0",
3737
"git-url-parse": "^11.1.2",

0 commit comments

Comments
 (0)