Replace chalk with node-style-text in release script (#16984)
This commit is contained in:
1 parent
78133d6d72
commit
59a64a3fb6
11 files changed
+55
-53
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import chalk from "chalk";
|
||||
import styleText from "node-style-text";
|
||||
import { fetchText, logPromise, processFile, runGit } from "../utils.js";
|
||||
|
||||
async function update() {
|
||||
@@ -79,6 +79,6 @@ export default async function updateDependentsCount({ dry, next }) {
|
||||
try {
|
||||
await update();
|
||||
} catch (error) {
|
||||
console.log(chalk.red.bold(error.message));
|
||||
console.log(styleText.red.bold(error.message));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user