Skip to content

Commit 20f6e92

Browse files
authored
chore: remove obsolete files & code (#355)
1 parent 7017360 commit 20f6e92

File tree

6 files changed

+0
-484
lines changed

6 files changed

+0
-484
lines changed

scripts/build.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -205,20 +205,11 @@ function toFromFilename(path, latestGhesVersion) {
205205
return "api.github.com.deref.json";
206206
}
207207

208-
if (filename.startsWith("ghes-2.22")) {
209-
return "ghes-3.0.deref.json";
210-
}
211-
212208
if (filename.startsWith("ghes-3.")) {
213209
const v3Version = parseInt(filename.substr("ghes-3.".length));
214210
return `ghes-3.${v3Version + 1}.deref.json`;
215211
}
216212

217-
if (filename.startsWith("ghes-2.")) {
218-
const v2Version = parseInt(filename.substr("ghes-2.".length));
219-
return `ghes-2.${v2Version + 1}.deref.json`;
220-
}
221-
222213
throw new Error(`Cannot calculate base version for ${filename}`);
223214
}
224215

scripts/overrides/apps-create-content-attachment.deref.json

Lines changed: 0 additions & 216 deletions
This file was deleted.

scripts/overrides/apps-create-content-attachment.json

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)