ESLint fixes

This commit is contained in:
Dennis Ploeger 2019-01-02 09:52:36 +01:00
parent d738f367de
commit 11b7f2a9dc
1 changed files with 3 additions and 3 deletions

View File

@ -512,8 +512,8 @@ const SettingsFileView = Backbone.View.extend({
this.backupInProgress = false;
backupButton.text(Locale.setFileBackupNow);
if (err) {
let title = ''
let description = ''
let title = '';
let description = '';
if (err.hasOwnProperty('code') && err.code === 'EISDIR') {
title = Locale.setFileBackupErrorIsDir;
description = Locale.setFileBackupErrorIsDirDescription;
@ -527,7 +527,7 @@ const SettingsFileView = Backbone.View.extend({
'<pre class="modal__pre">' +
_.escape(err.toString()) +
'</pre>'
})
});
}
});
});