Skip to content

Commit 51a640e

Browse files
author
John Dorlus
authored
The directory in the command was missing the /generated directory and would cause all definitions to be regenerated in the wrong place. (#72766) (#74019)
1 parent 7b90b31 commit 51a640e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/kbn-spec-to-console/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ At the root of the Kibana repository, run the following commands:
2323

2424
```sh
2525
# OSS
26-
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/rest-api-spec/src/main/resources/rest-api-spec/api/*" -d "src/plugins/console/server/lib/spec_definitions/json"
26+
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/rest-api-spec/src/main/resources/rest-api-spec/api/*" -d "src/plugins/console/server/lib/spec_definitions/json/generated"
2727

2828
# X-pack
29-
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" -d "x-pack/plugins/console_extensions/server/lib/spec_definitions/json"
29+
yarn spec_to_console -g "<ELASTICSEARCH-REPO-FOLDER>/x-pack/plugin/src/test/resources/rest-api-spec/api/*" -d "x-pack/plugins/console_extensions/server/lib/spec_definitions/json/generated"
3030
```
3131

3232
### Information used in Console that is not available in the REST spec

0 commit comments

Comments
 (0)