mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
remove snyk (its making the project huge)
This commit is contained in:
1 parent
67cb68a9c0
commit
2aa962350f
10 files changed
+53
-2624
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user