style: auto-fix lint and format
This commit is contained in:
1 parent
aa8410d326
commit
d37545c98e
5 files changed
+11
-19
No files matched your search
@@ -32,7 +32,7 @@ export function extractHttpMethods(template: string): string[] {
|
||||
if (/<ToggleSwitch\b/.test(template) && methods.size === 0) methods.add("POST");
|
||||
if (/<SubFetch\b/.test(template) && methods.size === 0) methods.add("GET");
|
||||
}
|
||||
return [...methods].sort();
|
||||
return [...methods].toSorted();
|
||||
}
|
||||
|
||||
const METHOD_COLORS: Record<string, string> = {
|
||||
|
||||
Reference in new issue
Block a user