@polka-codes/cli-shared 0.9.95 → 0.9.97

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -63325,8 +63325,6 @@ function loadConfigAtPath(path) {
63325
63325
  } catch (error48) {
63326
63326
  if (error48 instanceof ZodError) {
63327
63327
  console.warn(`Config validation failed for ${path}: ${error48.message}`);
63328
- } else {
63329
- console.debug(`Could not load config from ${path}: ${error48 instanceof Error ? error48.message : String(error48)}`);
63330
63328
  }
63331
63329
  return;
63332
63330
  }
@@ -67509,7 +67507,6 @@ class FileLock {
67509
67507
  const dbBaseName = basename2(dbPath);
67510
67508
  const files = await readdir(lockDir);
67511
67509
  const now2 = Date.now();
67512
- let cleanedCount = 0;
67513
67510
  for (const file2 of files) {
67514
67511
  if (!file2.startsWith(`${dbBaseName}.lock.`)) {
67515
67512
  continue;
@@ -67524,7 +67521,6 @@ class FileLock {
67524
67521
  if (age > maxAge) {
67525
67522
  try {
67526
67523
  await unlink2(filePath);
67527
- cleanedCount++;
67528
67524
  } catch (error48) {
67529
67525
  const errorCode = error48?.code;
67530
67526
  if (errorCode !== "ENOENT") {
@@ -67533,9 +67529,6 @@ class FileLock {
67533
67529
  }
67534
67530
  }
67535
67531
  }
67536
- if (cleanedCount > 0) {
67537
- console.log(`[FileLock] Cleaned up ${cleanedCount} old lock file(s) (older than ${maxAge}ms)`);
67538
- }
67539
67532
  } catch (error48) {
67540
67533
  console.debug(`[FileLock] Cleanup encountered an error: ${error48 instanceof Error ? error48.message : String(error48)}`);
67541
67534
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli-shared",
3
- "version": "0.9.95",
3
+ "version": "0.9.97",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",