Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
milankomaj committed Aug 1, 2024
1 parent 310f881 commit 898450f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class GithubUser {
}));
octokit.log.debug("✅ json.lang.length:", Object.values(lang).length);
//------------------------------
if (logs === 'default') { util.stopSpinnerAndTimer() } // 🔶
if (logs === 'default' && !process.env.CI) { util.stopSpinnerAndTimer() } // 🔶
console.table(languageResults);
let progress = "";
let langList = "";
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function stopSpinnerAndTimer() {
clearInterval(spinnerInterval);
clearInterval(timerId);
const totalTime = Date.now() - startTime;
process.stdout.write(`\r✅ GitHub Statistics (${color.blink(formatTime(totalTime))})\n\x1b[?25h`);
process.stdout.write(`\r✅ GitHub Statistics (${color.blink(formatTime(totalTime))})\x1b[?25h\n`);
}
// -----------------------------------------------------------------------
export function arrayBufferToAsciiString(arrayBuffer) {
Expand Down

0 comments on commit 898450f

Please sign in to comment.