diff --git a/lib/platform/github/gh-got-wrapper.ts b/lib/platform/github/gh-got-wrapper.ts
index 182eff43a8e40a4883a6a9c9ca23ff6335f63585..5f6a2ed4efe8ea1c6436c05ab71fd6fe46d109ee 100644
--- a/lib/platform/github/gh-got-wrapper.ts
+++ b/lib/platform/github/gh-got-wrapper.ts
@@ -167,10 +167,6 @@ for (const x of helpers) {
     get(url, Object.assign({}, opts, { method: x.toUpperCase() }));
 }
 
-get.setAppMode = function setAppMode() {
-  // no-op
-};
-
 get.setBaseUrl = (u: string) => {
   baseUrl = u;
 };