Skip to content

Commit

Permalink
[FEATURE] manifestCreator: i18n section v22
Browse files Browse the repository at this point in the history
changed to Array.from instead of spread operator.
  • Loading branch information
tobiasso85 committed Dec 23, 2020
1 parent 8eaf458 commit c90b9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/processors/manifestCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ async function createManifest(libraryResource, libBundle, descriptorVersion, _in
i18nToSupportedLocales.set(i18n, supportedLocales);
}

const supportedLocalesArray = [...supportedLocales];
const supportedLocalesArray = Array.from(supportedLocales);
supportedLocalesArray.sort();
return {
bundleUrl: i18n,
Expand Down

0 comments on commit c90b9a4

Please sign in to comment.