Skip to content

Commit 8232cc7

Browse files
authored
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>
1 parent 15921e1 commit 8232cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/site/pages/en/blog/migrations/v22-to-v24.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ The source code for this codemod can be found in the [fs-truncate-fd-deprecation
160160
You can find this codemod in the [Codemod Registry](https://app.codemod.com/registry/@nodejs/fs-truncate-to-ftruncate).
161161

162162
```bash
163-
npx codemod run @nodejs/fs-truncate-to-ftruncate
163+
npx codemod run @nodejs/fs-truncate-fd-deprecation
164164
```
165165

166166
#### Example:

0 commit comments

Comments
 (0)