There was an error while loading. Please reload this page.
1 parent ec84c8d commit d70ab64Copy full SHA for d70ab64
1 file changed
apps/desktop/tests/updater.spec.ts
@@ -20,7 +20,7 @@ vi.mock('electron-updater', () => ({
20
return this._channel
21
},
22
set channel(value: string | null) {
23
- if (this._channel != null) {
+ if (this._channel !== null) {
24
if (typeof value !== 'string') throw new Error(`Channel must be a string, but got: ${String(value)}`)
25
if (value.length === 0) throw new Error('Channel must be not an empty string')
26
}
0 commit comments