Skip to content

Commit

Permalink
Fix chalk color for error
Browse files Browse the repository at this point in the history
  • Loading branch information
chrodriguez committed Jan 3, 2024
1 parent 8f4b9b8 commit 088a509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/text2voice.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async function textfile2audiofile({el, file, voiceSettings, force}) {
// Restore logger;
console.log = disabledLogger;
if (res && res.status && res.status.toLowerCase() == 'ok') console.log(chalk.bgGreen.bold(`OK: `)+chalk.green(file));
else console.log(chalk.gbRed.bold(`ERROR: `)+chalk.red(file));
else console.log(chalk.bgRed.bold(`ERROR: `)+chalk.red(file));
}

async function start(opts) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mikroways/reveal-md-common",
"version": "1.0.6",
"version": "1.0.7",
"description": "Default configuration to work with Mikroways presentations",
"main": "preproc.js",
"bin": {
Expand Down

0 comments on commit 088a509

Please sign in to comment.