Skip to content

Commit c332037

Browse files
committed
docs(devtools): change writeFileSync to fs.writeFileSync of Audit
1 parent 2250e69 commit c332037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/devtools/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ To save a serialized graph to a file, use the following code:
130130

131131
```typescript
132132
await app.listen(3000); // OR await app.init()
133-
writeFileSync('./graph.json', app.get(SerializedGraph).toString());
133+
fs.writeFileSync('./graph.json', app.get(SerializedGraph).toString());
134134
```
135135

136136
> info **Hint** `SerializedGraph` is exported from the `@nestjs/core` package.

0 commit comments

Comments
 (0)