From 0abc56c5f78bc22ea35cc155f0e3ee28642d6117 Mon Sep 17 00:00:00 2001 From: tycrek Date: Mon, 18 Apr 2022 16:18:15 -0600 Subject: [PATCH] =?UTF-8?q?Actually=20fixed=20setup=20=F0=9F=98=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/setup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/setup.js b/src/setup.js index f2ed456..34ed82b 100644 --- a/src/setup.js +++ b/src/setup.js @@ -57,7 +57,7 @@ function getConfirmSchema(description) { // If directly called on the command line, run setup script function doSetup() { const path = (...paths) => require('path').join(process.cwd(), ...paths); - const { TLog } = require('@tycrek/log'); + const { TLog, getChalk } = require('@tycrek/log'); const fs = require('fs-extra'); const prompt = require('prompt'); const token = require('./generators/token'); @@ -245,7 +245,7 @@ function doSetup() { // Verify information is correct .then(() => log .blank() - .info('Please verify your information', '\n'.concat(Object.entries(results).map(([setting, value]) => `${' '}${log.chalk.dim.gray('-->')} ${log.chalk.bold.white(`${setting}:`)} ${log.chalk.white(value)}`).join('\n'))) + .info('Please verify your information', '\n'.concat(Object.entries(results).map(([setting, value]) => `${' '}${getChalk().dim.gray('-->')} ${getChalk().bold.white(`${setting}:`)} ${getChalk().white(value)}`).join('\n'))) .blank()) // Apply old configs