Skip to content

Commit

Permalink
[PURIFY] Remove x-pack reference from i18n build (#10) (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <petern@amazon.com>
  • Loading branch information
mihirsoni authored and peternied committed Mar 13, 2021
1 parent 05d12c9 commit 60c55a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dev/i18n/tasks/merge_configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ import { ErrorReporter, I18nConfig, assignConfigFromPath, arrayify } from '..';
export function mergeConfigs(additionalConfigPaths: string | string[] = []) {
const root = join(__dirname, '../../../../');
const kibanaRC = resolve(root, '.i18nrc.json');
const xpackRC = resolve(root, 'x-pack/.i18nrc.json');

const configPaths = [kibanaRC, xpackRC, ...arrayify(additionalConfigPaths)];
const configPaths = [kibanaRC, ...arrayify(additionalConfigPaths)];

return configPaths.map((configPath) => ({
task: async (context: { reporter: ErrorReporter; config?: I18nConfig }) => {
Expand Down

0 comments on commit 60c55a3

Please sign in to comment.