Commit 42b7dcf
committed
Match the kb folder as a path component in _load_path
_load_path classified any config file or folder whose relative path starts
with the letters "kb" as a knowledge-base document. A file named e.g.
kbsettings.yml, or a subfolder like kbase/, was therefore treated as an
(empty) kb doc and silently dropped -- its YAML config and any .co flows
never loaded. Match the kb folder as a path component (kb + os.sep) so only
files actually inside kb/ are collected as docs.
Signed-off-by: winklemad <winklemad@outlook.com>1 parent 5331054 commit 42b7dcf
2 files changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1566 | 1566 | | |
1567 | 1567 | | |
1568 | 1568 | | |
1569 | | - | |
1570 | | - | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
1571 | 1574 | | |
1572 | 1575 | | |
1573 | 1576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
0 commit comments