cli: move codeowners lib into "new" module
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@
|
||||
|
||||
import fs from 'fs-extra';
|
||||
import path from 'path';
|
||||
import { paths } from '../paths';
|
||||
import { paths } from '../../../../lib/paths';
|
||||
|
||||
const TEAM_ID_RE = /^@[-\w]+\/[-\w]+$/;
|
||||
const USER_ID_RE = /^@[-\w]+$/;
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
import { assertError } from '@backstage/errors';
|
||||
import { addCodeownersEntry } from '../../../../lib/codeowners';
|
||||
import { addCodeownersEntry } from '../codeowners';
|
||||
import { Task } from '../../../../lib/tasks';
|
||||
import {
|
||||
PortableTemplate,
|
||||
|
||||
@@ -15,10 +15,7 @@
|
||||
*/
|
||||
|
||||
import inquirer, { DistinctQuestion } from 'inquirer';
|
||||
import {
|
||||
getCodeownersFilePath,
|
||||
parseOwnerIds,
|
||||
} from '../../../../lib/codeowners';
|
||||
import { getCodeownersFilePath, parseOwnerIds } from '../codeowners';
|
||||
import { paths } from '../../../../lib/paths';
|
||||
import {
|
||||
PortableTemplateConfig,
|
||||
|
||||
Reference in New Issue
Block a user