Refactor log banner in octokit.ts

This commit is contained in:
Adam Matthiesen 2024-03-14 09:17:45 -07:00
parent af3de13b51
commit ed1b33b32a
No known key found for this signature in database
GPG Key ID: 3F53281CB3936013
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ const gistLogger = async (
// simplify console.log // simplify console.log
const log = console.log; const log = console.log;
// Create a log banner to identify logs from this package // Create a log banner to identify logs from this package
const logBanner = chalk.blue("[")+chalk.blue("astro-gists : octokit")+chalk.blue("] "); const logBanner = chalk.blue("[astro-gists : octokit] ");
// if checkVerbose is true and isVerbose is true, log the message // if checkVerbose is true and isVerbose is true, log the message
if (!VerboseCheck || VerboseCheck && isVerbose) { if (!VerboseCheck || VerboseCheck && isVerbose) {
if (type === "info") { if (type === "info") {