Skip to content

Commit

Permalink
refactor(@angular-devkit/build-angular): add missing formatOptions wh…
Browse files Browse the repository at this point in the history
…ich is non optional in v11.0.0-next.1

Related to angular/angular#38787
  • Loading branch information
alan-agius4 committed Sep 11, 2020
1 parent 183cb7d commit 9662dfe
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -63,14 +63,14 @@ async function getSerializer(format: Format, sourceLocale: string, basePath: str
await import('@angular/localize/src/tools/src/extract/translation_files/xliff1_translation_serializer');

// tslint:disable-next-line: no-any
return new Xliff1TranslationSerializer(sourceLocale, basePath as any, useLegacyIds);
return new Xliff1TranslationSerializer(sourceLocale, basePath as any, useLegacyIds, {});
case Format.Xlf2:
case Format.Xliff2:
const { Xliff2TranslationSerializer } =
await import('@angular/localize/src/tools/src/extract/translation_files/xliff2_translation_serializer');

// tslint:disable-next-line: no-any
return new Xliff2TranslationSerializer(sourceLocale, basePath as any, useLegacyIds);
return new Xliff2TranslationSerializer(sourceLocale, basePath as any, useLegacyIds, {});
}
}

Expand Down

0 comments on commit 9662dfe

Please sign in to comment.