Skip to content

Commit d9db774

Browse files
committed
fixed lint errors
1 parent ca797e8 commit d9db774

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/electron/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ module.exports = {
319319
*
320320
* @returns {Promise<Object>} The directory object that is converted to DirectoryEntry by cordova.
321321
*/
322-
getDirectory: getDirectory,
322+
getDirectory,
323323

324324
/**
325325
* Get the Parent directory

tests/tests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ exports.defineAutoTests = function () {
5959
toBeFileError: function () {
6060
return {
6161
compare: function (error, code) {
62-
const pass = error.code === code;
62+
let pass = error.code === code;
6363
if (isElectron && error && error.code && error.code.message) {
6464
pass = error.code.message.indexOf(code) > -1;
6565
}

0 commit comments

Comments
 (0)