repowise 0.1.56 → 0.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/repowise.js +6 -0
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -372,6 +372,12 @@ async function fetchContextFromServer(repoId, localPath, apiUrl) {
|
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
// ../listener/dist/main.js
|
|
375
|
+
var origLog = console.log.bind(console);
|
|
376
|
+
var origError = console.error.bind(console);
|
|
377
|
+
var origWarn = console.warn.bind(console);
|
|
378
|
+
console.log = (...args) => origLog(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
|
|
379
|
+
console.error = (...args) => origError(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
|
|
380
|
+
console.warn = (...args) => origWarn(`[${(/* @__PURE__ */ new Date()).toISOString()}]`, ...args);
|
|
375
381
|
var TWENTY_FOUR_HOURS_MS = 24 * 60 * 60 * 1e3;
|
|
376
382
|
var PID_PATH = join6(homedir4(), ".repowise", "listener.pid");
|
|
377
383
|
var running = false;
|