Skip to content

Commit

Permalink
add the root locale for RelativeTimeFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeChampion committed Feb 27, 2020
1 parent 8a2d41a commit 32b6168
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions polyfills/Intl/RelativeTimeFormat/update.task.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ console.log('Importing Intl.RelativeTimeFormat~locale.* polyfill from ' + Locale
var locales = fs.readdirSync(LocalesPath);
locales.forEach(function (file) {
var locale = file.slice(0, file.indexOf('.'));
if (locale === "root") {
return;
}
var localeOutputPath = path.join(LocalesPolyfillOutput, locale);

if (!fs.existsSync(localeOutputPath)) {
Expand Down

0 comments on commit 32b6168

Please sign in to comment.