@wrongstack/tools 0.51.3 → 0.54.1
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/builtin.js +2 -1
- package/dist/builtin.js.map +1 -1
- package/dist/edit.js +2 -1
- package/dist/edit.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/pack.js +2 -1
- package/dist/pack.js.map +1 -1
- package/package.json +2 -2
package/dist/pack.js
CHANGED
|
@@ -3413,7 +3413,8 @@ var editTool = {
|
|
|
3413
3413
|
const newFileLf = input.replace_all ? fileLf.split(oldLf).join(newLf) : fileLf.replace(oldLf, newLf);
|
|
3414
3414
|
const newFile = toStyle(newFileLf, style);
|
|
3415
3415
|
await atomicWrite(absPath, newFile, { mode: updated.mode & 511 });
|
|
3416
|
-
|
|
3416
|
+
const written = await fs11.stat(absPath);
|
|
3417
|
+
ctx.recordRead(absPath, written.mtimeMs);
|
|
3417
3418
|
ctx.session.recordFileChange({
|
|
3418
3419
|
path: absPath,
|
|
3419
3420
|
action: "modified",
|