Small eslint warning fix.

This commit is contained in:
Franco Montenegro 2022-03-01 12:57:15 -03:00 committed by jessopb
parent 53425d8fe2
commit 40e20dfc1b

View file

@ -299,7 +299,7 @@ app.on('before-quit', () => {
ipcMain.on('get-disk-space', async (event) => { ipcMain.on('get-disk-space', async (event) => {
try { try {
const { data_dir } = await Lbry.settings_get(); const { data_dir } = await Lbry.settings_get();
let diskSpace = undefined; let diskSpace;
switch (os.platform()) { switch (os.platform()) {
case 'linux': case 'linux':
diskSpace = await diskSpaceLinux(data_dir); diskSpace = await diskSpaceLinux(data_dir);