Skip to content

Commit 293538d

Browse files
author
John McCambridge
committed
Add isDev variable for version check, change promise return value to string
1 parent e19e5ae commit 293538d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/server/src/updater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const compareVersions = (a: string, b: string): number | undefined => {
2020
}
2121
};
2222

23-
export const getRecentRelease = (): Promise<any> => {
23+
export const getRecentRelease = (): Promise<string> => {
2424
return new Promise<string>((resolve, rej):void => {
2525
const options = {
2626
host: "api.github.com",

0 commit comments

Comments
 (0)