mirror of
https://github.com/DinheroDevelopmentGroup/modular-minecraft-proxy.git
synced 2024-11-23 15:48:23 -05:00
console.log -> console.info
This commit is contained in:
parent
03044d2a66
commit
e8c4eaa96f
2 changed files with 4 additions and 6 deletions
|
@ -46,7 +46,7 @@ program
|
|||
await writeFile(globalPath, JSON.stringify(global, null, 2));
|
||||
}
|
||||
|
||||
console.log('Calculating delta...');
|
||||
console.info('Calculating delta...');
|
||||
|
||||
const addedUrls = new Set<string>();
|
||||
|
||||
|
@ -59,11 +59,11 @@ program
|
|||
await addModule(url, true);
|
||||
|
||||
if (modules.size === 0) {
|
||||
console.log('Nothing to do.');
|
||||
console.info('Nothing to do.');
|
||||
return;
|
||||
}
|
||||
|
||||
console.log(`Adding ${modules.size} module(s)...`);
|
||||
console.info(`Adding ${modules.size} module(s)...`);
|
||||
|
||||
if (!options.yes) {
|
||||
if (!(await confirm({ message: 'Continue?' }))) return;
|
||||
|
@ -192,7 +192,7 @@ program
|
|||
}
|
||||
|
||||
modules.set(url, { manual });
|
||||
console.log(chalk.green(`[+] ${global.name}`));
|
||||
console.info(chalk.green(`[+] ${global.name}`));
|
||||
|
||||
const promises: Promise<void>[] = [];
|
||||
|
||||
|
|
|
@ -24,8 +24,6 @@ export async function* importModulesGenerator(
|
|||
index: string,
|
||||
callbacks?: Callbacks,
|
||||
): AsyncGenerator<unknown> {
|
||||
console.log('importModulesGenerator', { directory, index });
|
||||
|
||||
for (const entry of await readdir(directory, { withFileTypes: true })) {
|
||||
const path = resolve(entry.path, entry.name, index);
|
||||
|
||||
|
|
Loading…
Reference in a new issue