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

Function getLocalHotfixes

source/helpers/hotfix.tsx:62–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60});
61
62export async function getLocalHotfixes(): Promise<HotfixStorage> {
63 // To facilitate debugging, ignore hotfixes during development.
64 // Change the version in manifest.json to test hotfixes
65 if (isDevelopmentVersion()) {
66 return [];
67 }
68
69 return await brokenFeatures.get() ?? [];
70}
71
72export async function getLocalHotfixesAsOptions(): Promise<Partial<RghOptions>> {
73 const options: Partial<RghOptions> = {};

Callers 2

markLocalHotfixesFunction · 0.85

Calls 2

isDevelopmentVersionFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected