Skip to content

Commit

Permalink
[Obs AI Assistant] Move esql docs to dir that does not get ... (#174583)
Browse files Browse the repository at this point in the history
any folder called `docs` is automatically deleted when creating a
distributable. Rename it to `esql_docs` so this doesn't happen. We need
tests, but will tackle that separately. Not sure how to write tests for
the distributable.
  • Loading branch information
dgieselaar authored Jan 10, 2024
1 parent e2692bf commit f9c8344
Show file tree
Hide file tree
Showing 93 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const loadSystemMessage = once(async () => {
});

const loadEsqlDocs = once(async () => {
const dir = Path.join(__dirname, './docs');
const dir = Path.join(__dirname, './esql_docs');
const files = (await readdir(dir)).filter((file) => Path.extname(file) === '.txt');

if (!files.length) {
Expand Down

0 comments on commit f9c8344

Please sign in to comment.