mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
lgtm: fix alerts
This commit is contained in:
1 parent
f1f956202f
commit
ce880b4e05
5 files changed
+7
-6
No files matched your search
@@ -25,8 +25,8 @@ function _(str, format) {
|
||||
if (!texts[str]) texts[str] = [currentFile];
|
||||
else texts[str].push(currentFile);
|
||||
}
|
||||
const i18n = _;
|
||||
const Setting = _;
|
||||
const i18n = _; // lgtm [js/unused-local-variable]
|
||||
const Setting = _; // lgtm [js/unused-local-variable]
|
||||
|
||||
function scanTemplate(folder, relative = 'templates') {
|
||||
const files = fs.readdirSync(folder);
|
||||
|
||||
Reference in new issue
Block a user