Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
comment
Browse files Browse the repository at this point in the history
straker committed Apr 3, 2024
1 parent cff17c8 commit 640e228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/tasks/configure.js
Original file line number Diff line number Diff line change
@@ -18,8 +18,8 @@ module.exports = function (grunt) {
});

this.files.forEach(function (file) {
// locale will always be the 2nd to last part of the file
// filename and in the format of "<filename>.<locale>.js"
// locale will always be the 2nd to last part of the
// filename and in the format of "<name>.<locale>.js"
const parts = file.dest.auto.split('.');
if (parts.length > 2) {
options.locale = parts[parts.length - 2];

0 comments on commit 640e228

Please sign in to comment.