Lambdas reverted

This commit is contained in:
David 2020-01-26 21:49:47 +01:00
parent 88b798bb6b
commit e160438a90
2 changed files with 6 additions and 2 deletions

4
ui/src/i18next.ts vendored
View file

@ -29,7 +29,9 @@ const resources = {
ca,
};
const format = (value: any, format: any, lng: any) => format === 'uppercase' ? value.toUpperCase() : value;
function format(value: any, format: any, lng: any): any {
return format === 'uppercase' ? value.toUpperCase() : value;
}
i18next.init({
debug: false,

View file

@ -37,7 +37,9 @@ const readmeTxt = fs.readFileSync(readmePath, { encoding: 'utf8' });
const before = readmeTxt.split(open)[0];
const after = readmeTxt.split(close)[1];
const difference = (a: Array<string>, b: Array<string>): Array<string> => a.filter(x => !b.includes(x));
function difference(a: Array<string>, b: Array<string>): Array<string> {
return a.filter(x => !b.includes(x));
}
const report =
'lang | done | missing\n' +