MCPcopy
hub / github.com/refined-github/refined-github / getLocalHotfixesAsOptions

Function getLocalHotfixesAsOptions

source/helpers/hotfix.tsx:72–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72export async function getLocalHotfixesAsOptions(): Promise<Partial<RghOptions>> {
73 const options: Partial<RghOptions> = {};
74 for (const [feature] of await getLocalHotfixes()) {
75 options[`feature:${feature}`] = false;
76 }
77
78 return options;
79}
80
81export async function applyStyleHotfixes(style: string): Promise<void> {
82 if (isDevelopmentVersion() || isEnterprise() || !style) {

Callers 1

Calls 1

getLocalHotfixesFunction · 0.85

Tested by

no test coverage detected