Skip to content

Commit

Permalink
refactor: fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesjo committed Dec 8, 2023
1 parent f01ea8e commit 0e58c23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IS_ELECTRON } from '../../../app.constants';
const backupPath =
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
IS_ELECTRON &&
`${getElectronRemoteModule()!.app.getPath('userData')}${
`${getElectronRemoteModule()?.app.getPath('userData')}${
navigator?.userAgent?.search('Windows') ? '\\' : '/'
}backups`;

Expand Down

0 comments on commit 0e58c23

Please sign in to comment.