@sdotwinter/openclaw-deterministic 0.1.3 → 0.1.4
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/bin/revert.js +2 -1
- package/package.json +1 -1
package/bin/revert.js
CHANGED
|
@@ -8,7 +8,8 @@ const OPENCLAW_DIR = path.join(os.homedir(), ".openclaw");
|
|
|
8
8
|
const WORKSPACE_DIR = path.join(OPENCLAW_DIR, "workspace");
|
|
9
9
|
const BACKUP_ROOT = path.join(OPENCLAW_DIR, "backups", "deterministic");
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// Remove the first argument ("revert")
|
|
12
|
+
const args = process.argv.slice(3);
|
|
12
13
|
|
|
13
14
|
function listBackups() {
|
|
14
15
|
if (!fs.existsSync(BACKUP_ROOT)) {
|