Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QA][Code Coverage] Coverage teams lookup less unknowns #77414

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use import, like Dima's previous suggestion.
wayneseymour committed Sep 15, 2020
commit 136ca614da73b4c9167728331d9917e3d5a89431
Original file line number Diff line number Diff line change
@@ -17,16 +17,13 @@
* under the License.
*/

import { run, createFlagError } from '@kbn/dev-utils';
import { run, createFlagError, REPO_ROOT } from '@kbn/dev-utils';
import { parse } from './parse_owners';
import { flush } from './flush';
import { enumeratePatterns } from './enumerate_patterns';
import { push } from './enumeration_helpers';
import { resolve } from 'path';
import { pipe } from '../utils';

const ROOT = resolve(__dirname, '../../../../..');

const flags = {
string: ['src', 'dest'],
help: `
@@ -50,7 +47,7 @@ export const generateTeamAssignments = () => {
() =>
pipe(
logSuccess(flags.src, log),
enumeratePatterns(ROOT)(log),
enumeratePatterns(REPO_ROOT)(log),
flush(flags.dest)(log)
)(new Map(data))
);