mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[kbn-code-owners] General improvements (#204023)
## Summary The following improvements have been made: - Added `--json` flag to CLI command to output result as JSON - Terminology updated to more accurately reflect object contents - Code owner teams are always returned as an array - Search path validation (is under repo root, exists) - Proper handling of inline comments - Better logging for `scripts/check_ftr_code_owners.js` Existing usage of the `@kbn/code-owners` package has been updated accordingly, without modifying outcomes.
This commit is contained in:
parent
5e69fd1498
commit
0dabc52fef
10 changed files with 267 additions and 159 deletions
|
@ -8,4 +8,4 @@
|
|||
*/
|
||||
|
||||
require('../src/setup_node_env');
|
||||
require('@kbn/code-owners').runGetOwnersForFileCli();
|
||||
void require('@kbn/code-owners').cli.findCodeOwnersForPath();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue