mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Cheer up prettier
This commit is contained in:
parent
1a4dcddec2
commit
81501f03cf
1 changed files with 21 additions and 23 deletions
|
@ -2442,7 +2442,7 @@ export async function tabopen(...addressarr: string[]): Promise<browser.tabs.Tab
|
|||
|
||||
const address = query.join(" ")
|
||||
if (!ABOUT_WHITELIST.includes(address) && /^(about|file):.*/.exec(address)) {
|
||||
return (nativeopen(address) as unknown) as browser.tabs.Tab // I don't understand why changing the final return below meant I had to change this
|
||||
return nativeopen(address) as unknown as browser.tabs.Tab // I don't understand why changing the final return below meant I had to change this
|
||||
}
|
||||
|
||||
const aucon = new AutoContain()
|
||||
|
@ -4782,8 +4782,7 @@ export async function ttscontrol(action: string) {
|
|||
*/
|
||||
//#background_helper
|
||||
export function buildFilterConfigs(filters: string[]): Perf.StatsFilterConfig[] {
|
||||
return filters.map(
|
||||
(filter: string): Perf.StatsFilterConfig => {
|
||||
return filters.map((filter: string): Perf.StatsFilterConfig => {
|
||||
if (filter.endsWith("/")) {
|
||||
return { kind: "ownerName", ownerName: filter.slice(0, -1) }
|
||||
} else if (filter === ":start") {
|
||||
|
@ -4799,8 +4798,7 @@ export function buildFilterConfigs(filters: string[]): Perf.StatsFilterConfig[]
|
|||
// So at least we return something now
|
||||
return { kind: "functionName", functionName: filter }
|
||||
}
|
||||
},
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue