@rljson/fs-agent 0.0.20 → 0.0.21
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/fs-agent.js +7 -1
- package/package.json +1 -1
package/dist/fs-agent.js
CHANGED
|
@@ -505,7 +505,13 @@ class FsScanner {
|
|
|
505
505
|
}
|
|
506
506
|
if (this._vanishedDuringScan > 0) {
|
|
507
507
|
console.warn(
|
|
508
|
-
`[fs-scanner] ${this._vanishedDuringScan} entr${this._vanishedDuringScan === 1 ? "y" : "ies"} vanished during the scan of ${this._rootPath} —
|
|
508
|
+
`[fs-scanner] ${this._vanishedDuringScan} entr${this._vanishedDuringScan === 1 ? "y" : "ies"} vanished during the scan of ${this._rootPath} — this scan is a partial picture`
|
|
509
|
+
);
|
|
510
|
+
if (this._tree) {
|
|
511
|
+
return this._tree;
|
|
512
|
+
}
|
|
513
|
+
console.warn(
|
|
514
|
+
`[fs-scanner] no previous scan of ${this._rootPath} to fall back on — starting from the partial one`
|
|
509
515
|
);
|
|
510
516
|
}
|
|
511
517
|
trees.set(rootHashStr, rootTree);
|