@@ -12658,7 +12658,7 @@ class Git {
1265812658 return; // Reference is already available locally
1265912659 }
1266012660 try {
12661- (0, Logger_1 .log) (`🔄 Fetching missing ref: ${ref}`);
12661+ console .log(`🔄 Fetching missing ref: ${ref}`);
1266212662 await exec(`git fetch ${remote} ${ref} --no-tags --depth=1 --quiet`);
1266312663 // Verify the ref is now available
1266412664 if (!this.isValidRef(ref)) {
@@ -12869,7 +12869,7 @@ exports["default"] = Git;
1286912869"use strict";
1287012870
1287112871Object.defineProperty(exports, "__esModule", ({ value: true }));
12872- exports.bold = exports.formatLink = exports.success = exports.error = exports.note = exports.warn = exports.info = exports.log = void 0;
12872+ exports.bold = exports.formatLink = exports.success = exports.errorDetail = exports.error = exports.note = exports.warn = exports.info = void 0;
1287312873const COLOR_DIM = '\x1b[2m';
1287412874const COLOR_RESET = '\x1b[0m';
1287512875const COLOR_YELLOW = '\x1b[33m';
@@ -12884,40 +12884,34 @@ const EMOJIS = {
1288412884 SUCCESS: '✅',
1288512885 ERROR: '🔴',
1288612886};
12887- const log = (...args) => {
12888- console.debug(...args);
12889- };
12890- exports.log = log;
1289112887const info = (...args) => {
12892- const lines = [EMOJIS.INFO, ...args];
12893- log(...lines);
12888+ console.log(EMOJIS.INFO, ...args);
1289412889};
1289512890exports.info = info;
1289612891const bold = (...args) => {
12897- const lines = [COLOR_BOLD, ...args, COLOR_RESET];
12898- log(...lines);
12892+ console.log(COLOR_BOLD, ...args, COLOR_RESET);
1289912893};
1290012894exports.bold = bold;
1290112895const success = (...args) => {
12902- const lines = [`${EMOJIS.SUCCESS}${COLOR_GREEN}`, ...args, COLOR_RESET];
12903- log(...lines);
12896+ console.log(`${EMOJIS.SUCCESS}${COLOR_GREEN}`, ...args, COLOR_RESET);
1290412897};
1290512898exports.success = success;
1290612899const warn = (...args) => {
12907- const lines = [`${EMOJIS.WARN}${COLOR_YELLOW}`, ...args, COLOR_RESET];
12908- log(...lines);
12900+ console.warn(`${EMOJIS.WARN}${COLOR_YELLOW}`, ...args, COLOR_RESET);
1290912901};
1291012902exports.warn = warn;
1291112903const note = (...args) => {
12912- const lines = [COLOR_DIM, ...args, COLOR_RESET];
12913- log(...lines);
12904+ console.log(COLOR_DIM, ...args, COLOR_RESET);
1291412905};
1291512906exports.note = note;
1291612907const error = (...args) => {
12917- const lines = [`${EMOJIS.ERROR}${COLOR_RED}`, ...args, COLOR_RESET];
12918- log(...lines);
12908+ console.error(`${EMOJIS.ERROR}${COLOR_RED}`, ...args, COLOR_RESET);
1291912909};
1292012910exports.error = error;
12911+ const errorDetail = (...args) => {
12912+ console.error(` ${COLOR_RED}↳`, ...args, COLOR_RESET);
12913+ };
12914+ exports.errorDetail = errorDetail;
1292112915const formatLink = (name, url) => `\x1b]8;;${url}\x1b\\${name}\x1b]8;;\x1b\\`;
1292212916exports.formatLink = formatLink;
1292312917
0 commit comments