From 84a9ac7e6c943ebc7e0d5bc29d190c3ee5cdaf72 Mon Sep 17 00:00:00 2001 From: Melloware Date: Thu, 1 Feb 2024 19:30:43 -0500 Subject: [PATCH] fix: afterAllFilesWritten (#1194) --- docs/src/pages/reference/configuration/hooks.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/pages/reference/configuration/hooks.md b/docs/src/pages/reference/configuration/hooks.md index 979e7d1e5..9024c5298 100644 --- a/docs/src/pages/reference/configuration/hooks.md +++ b/docs/src/pages/reference/configuration/hooks.md @@ -3,7 +3,7 @@ id: configuration-hooks title: Hooks --- -### afterAllFilesWritten +### afterAllFilesWrite Type: `String` or `String[]` or `Function`. @@ -15,19 +15,19 @@ that are generated by orval. module.exports = { petstore: { hooks: { - afterAllFilesWritten: 'prettier --write', + afterAllFilesWrite: 'prettier --write', }, }, }; ``` -If you don't want to inject the generated files into the command, you can use `afterAllFilesWritten` with an object: +If you don't want to inject the generated files into the command, you can use `afterAllFilesWrite` with an object: ```js module.exports = { petstore: { hooks: { - afterAllFilesWritten: { + afterAllFilesWrite: { command: 'prettier --write .', injectGeneratedDirsAndFiles: false, },