We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca797e8 commit d9db774Copy full SHA for d9db774
src/electron/index.js
@@ -319,7 +319,7 @@ module.exports = {
319
*
320
* @returns {Promise<Object>} The directory object that is converted to DirectoryEntry by cordova.
321
*/
322
- getDirectory: getDirectory,
+ getDirectory,
323
324
/**
325
* Get the Parent directory
tests/tests.js
@@ -59,7 +59,7 @@ exports.defineAutoTests = function () {
59
toBeFileError: function () {
60
return {
61
compare: function (error, code) {
62
- const pass = error.code === code;
+ let pass = error.code === code;
63
if (isElectron && error && error.code && error.code.message) {
64
pass = error.code.message.indexOf(code) > -1;
65
}
0 commit comments