Skip to content

Commit bbe00bd

Browse files
committed
format
1 parent 4bbb406 commit bbe00bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

javascript/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,9 @@ async function main() {
369369
recursiveTranslateXml("", "parseXml");
370370
} else if (parseType == "json") {
371371
const languages = await getDirectories(path.join(__dirname, "../xml"));
372-
languages.sort(function (x,y) { return x==="en" ? -1 : y==="en" ? 1 : 0; }); // put "en" at front
372+
languages.sort(function (x, y) {
373+
return x === "en" ? -1 : y === "en" ? 1 : 0;
374+
}); // put "en" at front
373375
console.dir(languages);
374376

375377
for (const lang of languages) {

0 commit comments

Comments
 (0)