remove snyk (its making the project huge)

This commit is contained in:
undefined committed 2020-07-19 19:12:44 +08:00
1 parent 67cb68a9c0
commit 2aa962350f
10 files changed
+53 -2624

No files matched your search

+2 -2
View File
@@ -14,12 +14,12 @@ const LOCALE_ROOT = path.resolve(__dirname, '..', 'locales');
const texts = {};
const result = {};
const locales = fs.readdirSync(LOCALE_ROOT);
let currentFile = '';
const currentFile = 'setting.ts';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function Setting(str, format) {
if (!texts[str]) texts[str] = [currentFile];
else texts[str].push(currentFile);
else if (!texts[str].includes(currentFile)) texts[str].push(currentFile);
}
function scanSetting() {