Skip to content

Commit

Permalink
Update: fix error color
Browse files Browse the repository at this point in the history
  • Loading branch information
themitosan committed Dec 14, 2024
1 parent c2175d4 commit 978565f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ async function grpp_loadSettings(){
*/
export async function grpp_saveSettings(mode:string = 'db'){
try {

// Swicth save mode
process.chdir(originalCwd);
switch (mode){
Expand Down
2 changes: 1 addition & 1 deletion src/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ function processBatchResFiles(){
enableLineBreak = '\n';
updateConsoleLine(0, 11, `──┬ ${grpp_convertLangVar(langDatabase.update.batch_overallProgress, [parsePercentage(reposProcessed, totalReposQueued), reposProcessed, totalReposQueued])}`);
updateConsoleLine(0, 13, ` ├ ${grpp_convertLangVar(langDatabase.update.batch_updateCounter, [changeTextColorNumber(updateCounter, consoleTextStyle.fgGreen)])}`);
updateConsoleLine(0, 14, ` └ ${grpp_convertLangVar(langDatabase.update.batch_errorCounter, [changeTextColorNumber(errorCounter, consoleTextStyle.fgGreen)])}\n\n${langDatabase.update.batchProcessList}\n\n`);
updateConsoleLine(0, 14, ` └ ${grpp_convertLangVar(langDatabase.update.batch_errorCounter, [changeTextColorNumber(errorCounter, consoleTextStyle.fgRed)])}\n\n${langDatabase.update.batchProcessList}\n\n`);
}

// Update entryChar if there is only one process and update elapsed time line
Expand Down

0 comments on commit 978565f

Please sign in to comment.