Skip to content

Commit afbc879

Browse files
author
John McCambridge
committed
remove return statement from status code check
1 parent 97db5c3 commit afbc879

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/server/src/updater.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ export const getRecentRelease = (): Promise<any> => {
3535
https.get(options, function (res) {
3636
if (res.statusCode !== 200) {
3737
throw new Error("Failed to acquire release information");
38-
39-
return undefined;
4038
}
4139
let body = "";
4240
res.on("data", (chunk) => {

0 commit comments

Comments
 (0)