From 40e20dfc1bebcd8fe33b59182d900327e0bac60e Mon Sep 17 00:00:00 2001 From: Franco Montenegro Date: Tue, 1 Mar 2022 12:57:15 -0300 Subject: [PATCH] Small eslint warning fix. --- electron/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/index.js b/electron/index.js index c65cf3425..78912f155 100644 --- a/electron/index.js +++ b/electron/index.js @@ -299,7 +299,7 @@ app.on('before-quit', () => { ipcMain.on('get-disk-space', async (event) => { try { const { data_dir } = await Lbry.settings_get(); - let diskSpace = undefined; + let diskSpace; switch (os.platform()) { case 'linux': diskSpace = await diskSpaceLinux(data_dir);