Рефакторинг кода: дедупликация ucode, исправления shellcheck и глобальное улучшение install.sh

This commit is contained in:
Dushnilin
2026-07-13 22:38:24 +03:00
parent 970ca5c3fe
commit f017d01a52
40 changed files with 455 additions and 971 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
#!/usr/bin/env ucode
function as_string(value) {
return value == null ? "" : "" + value;
}
let common = require("core.common");
let as_string = common.as_string;
function str_last_index(value, needle) {
value = as_string(value);