revspec 0.7.1 → 0.7.2
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 +1 -1
- package/src/cli/watch.ts +2 -2
package/package.json
CHANGED
package/src/cli/watch.ts
CHANGED
|
@@ -235,8 +235,8 @@ function processNewEvents(
|
|
|
235
235
|
return { approved: false, output: "", newOffset: offset };
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
// Save new offset
|
|
239
|
-
atomicWriteFileSync(offsetPath, String(newOffset));
|
|
238
|
+
// Save new offset (preserve submit_ts if present)
|
|
239
|
+
atomicWriteFileSync(offsetPath, lastSubmitTs ? `${newOffset}\n${lastSubmitTs}` : String(newOffset));
|
|
240
240
|
|
|
241
241
|
// Check for approve event
|
|
242
242
|
const hasApprove = events.some((e) => e.type === "approve");
|