@rljson/fs-agent 0.0.64 → 0.0.66
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 +5 -5
- package/package.json +1 -1
package/dist/fs-agent.js
CHANGED
|
@@ -1555,11 +1555,6 @@ ${err.stack}` : String(err);
|
|
|
1555
1555
|
target,
|
|
1556
1556
|
target === this._rootPath
|
|
1557
1557
|
);
|
|
1558
|
-
if (this._restoreSkipped > 0 || this._restorePruned > 0) {
|
|
1559
|
-
console.log(
|
|
1560
|
-
`[FsAgent] restore: wrote ${this._restoreWritten}, left ${this._restoreSkipped} already-correct file${this._restoreSkipped === 1 ? "" : "s"} untouched` + (this._restorePruned > 0 ? `, DELETED ${this._restorePruned}` : "")
|
|
1561
|
-
);
|
|
1562
|
-
}
|
|
1563
1558
|
if (options?.cleanTarget) {
|
|
1564
1559
|
let wouldPrune = 0;
|
|
1565
1560
|
for (const existing of preRestore) {
|
|
@@ -1588,6 +1583,11 @@ ${err.stack}` : String(err);
|
|
|
1588
1583
|
preRestore
|
|
1589
1584
|
);
|
|
1590
1585
|
}
|
|
1586
|
+
if (this._restoreSkipped > 0 || this._restorePruned > 0) {
|
|
1587
|
+
console.log(
|
|
1588
|
+
`[FsAgent] restore: wrote ${this._restoreWritten}, left ${this._restoreSkipped} already-correct file${this._restoreSkipped === 1 ? "" : "s"} untouched` + (this._restorePruned > 0 ? `, DELETED ${this._restorePruned}` : "")
|
|
1589
|
+
);
|
|
1590
|
+
}
|
|
1591
1591
|
if (this._restoreLocked.length > 0) {
|
|
1592
1592
|
throw new PartialRestoreError([...this._restoreLocked]);
|
|
1593
1593
|
}
|