mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Enforce consistent indentation in js
This commit is contained in:
parent
00eb4aadf5
commit
1b14810d34
3 changed files with 10 additions and 4 deletions
|
@ -52,8 +52,8 @@ var copyTranslations = function(outDir) {
|
|||
var availableLangs = function() {
|
||||
let out = "const availableLangs = new Set([\n";
|
||||
let dirs = readdirSync('translation').filter((f) => {
|
||||
const s = statSync(`translation/${f}`);
|
||||
return s.isDirectory();
|
||||
const s = statSync(`translation/${f}`);
|
||||
return s.isDirectory();
|
||||
});
|
||||
dirs.push('en_US');
|
||||
dirs.sort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue