Skip to content

Commit 84a9ac7

Browse files
authoredFeb 2, 2024
fix: afterAllFilesWritten (#1194)
1 parent ef5a1ff commit 84a9ac7

File tree

1 file changed

+4
-4
lines changed
  • docs/src/pages/reference/configuration

1 file changed

+4
-4
lines changed
 

‎docs/src/pages/reference/configuration/hooks.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: configuration-hooks
33
title: Hooks
44
---
55

6-
### afterAllFilesWritten
6+
### afterAllFilesWrite
77

88
Type: `String` or `String[]` or `Function`.
99

@@ -15,19 +15,19 @@ that are generated by orval.
1515
module.exports = {
1616
petstore: {
1717
hooks: {
18-
afterAllFilesWritten: 'prettier --write',
18+
afterAllFilesWrite: 'prettier --write',
1919
},
2020
},
2121
};
2222
```
2323

24-
If you don't want to inject the generated files into the command, you can use `afterAllFilesWritten` with an object:
24+
If you don't want to inject the generated files into the command, you can use `afterAllFilesWrite` with an object:
2525

2626
```js
2727
module.exports = {
2828
petstore: {
2929
hooks: {
30-
afterAllFilesWritten: {
30+
afterAllFilesWrite: {
3131
command: 'prettier --write .',
3232
injectGeneratedDirsAndFiles: false,
3333
},

0 commit comments

Comments
 (0)
Please sign in to comment.