File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/platform/void/electron-main Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ export class VoidMainUpdateService extends Disposable implements IVoidUpdateServ
2424
2525 async check ( ) {
2626 const isDevMode = ! this . _envMainService . isBuilt // found in abstractUpdateService.ts
27+
2728 if ( isDevMode ) {
28- console . log ( 'Checking for updates in dev mode' )
29- // return { message: `` }
29+ return { hasUpdate : false } as const
3030 }
3131
3232 try {
33- const res = await fetch ( `https://updates.voideditor.dev/api/v0/${ this . _productService . commit ?? '6e1f8a08b39b9fcc2810356a7e69e65d6e61d13f' } ` )
33+ const res = await fetch ( `https://updates.voideditor.dev/api/v0/${ this . _productService . commit } ` )
3434 const resJSON = await res . json ( )
3535
3636 if ( ! resJSON ) return null
You can’t perform that action at this time.
0 commit comments