mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 02:12:44 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -52,7 +52,7 @@ function collectSkillBins(entries: SkillEntry[]): string[] {
|
||||
}
|
||||
}
|
||||
}
|
||||
return [...bins].sort();
|
||||
return [...bins].toSorted();
|
||||
}
|
||||
|
||||
export const skillsHandlers: GatewayRequestHandlers = {
|
||||
@@ -95,7 +95,7 @@ export const skillsHandlers: GatewayRequestHandlers = {
|
||||
const entries = loadWorkspaceSkillEntries(workspaceDir, { config: cfg });
|
||||
for (const bin of collectSkillBins(entries)) bins.add(bin);
|
||||
}
|
||||
respond(true, { bins: [...bins].sort() }, undefined);
|
||||
respond(true, { bins: [...bins].toSorted() }, undefined);
|
||||
},
|
||||
"skills.install": async ({ params, respond }) => {
|
||||
if (!validateSkillsInstallParams(params)) {
|
||||
|
||||
Reference in New Issue
Block a user