Small eslint warning fix.
This commit is contained in:
parent
53425d8fe2
commit
40e20dfc1b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue