You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): Update codemod command for fs-truncate-fd-deprecation (#8338)
* Fix codemod command for fs-truncate-fd-deprecation
When I started migrating my project to the new LTS version, I encountered an error when executing this code mod.
```bash
> npx codemod run @nodejs/fs-truncate-to-ftruncate
[1/2] 🔍 Resolving package from registry: https://app.codemod.com ...
Error: Registry error: Package not found: @nodejs/fs-truncate-to-ftruncate
```
Signed-off-by: Mikhail Garbuzov <madmxg@gmail.com>
* suggestion
fix link to codemod location
Co-authored-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
Signed-off-by: Mikhail Garbuzov <madmxg@gmail.com>
---------
Signed-off-by: Mikhail Garbuzov <madmxg@gmail.com>
Co-authored-by: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com>
Copy file name to clipboardExpand all lines: apps/site/pages/en/blog/migrations/v22-to-v24.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,10 +157,10 @@ The [`fs.truncate`](https://nodejs.org/api/fs.html#fs_fs_truncate_path_len_callb
157
157
158
158
The source code for this codemod can be found in the [fs-truncate-fd-deprecation directory](https://github.com/nodejs/userland-migrations/tree/main/recipes/fs-truncate-fd-deprecation).
159
159
160
-
You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/fs-truncate-to-ftruncate).
160
+
You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/fs-truncate-fd-deprecation).
161
161
162
162
```bash
163
-
npx codemod run @nodejs/fs-truncate-to-ftruncate
163
+
npx codemod run @nodejs/fs-truncate-fd-deprecation
0 commit comments