gm-plugkit 2.0.1564 → 2.0.1565

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1564",
3
+ "version": "2.0.1565",
4
4
  "description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -3551,6 +3551,7 @@ async function runSpoolWatcher(instance, spoolDir) {
3551
3551
  try {
3552
3552
  const fp = path.join(outDir, entry);
3553
3553
  const s = fs.statSync(fp);
3554
+ if (!s.isFile()) continue;
3554
3555
  if (s.mtimeMs < cutoff) { fs.unlinkSync(fp); swept++; }
3555
3556
  } catch (e) { console.error(`[retention] failed to sweep ${entry}: ${e.message}`); }
3556
3557
  }