Refactor log banner in octokit.ts
This commit is contained in:
parent
af3de13b51
commit
ed1b33b32a
|
@ -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") {
|
||||||
|
|
Loading…
Reference in New Issue