1.18更新

This commit is contained in:
RT15548
2026-01-18 20:04:43 +08:00
committed by GitHub
parent be142640c0
commit 03ba508a31
62 changed files with 18838 additions and 7264 deletions

View File

@@ -69,11 +69,6 @@ function extractPathFromArgs(namedArgs, unnamedArgs) {
}
}
function hasTopLevelRuleKey(obj) {
if (!obj || typeof obj !== 'object' || Array.isArray(obj)) return false;
return Object.keys(obj).some(k => String(k).trim().startsWith('$'));
}
function ensureAbsTargetPath(basePath, token) {
const t = String(token || '').trim();
if (!t) return String(basePath || '');
@@ -1012,4 +1007,4 @@ export function cleanupVarCommands() {
export {
MODULE_ID,
};
};