diff --git a/src/components/filesystem.js b/src/components/filesystem.js index e022a1c6d0..3ab759b28a 100644 --- a/src/components/filesystem.js +++ b/src/components/filesystem.js @@ -6,11 +6,13 @@ define([], function () { if (window.NativeShell && window.NativeShell.FileSystem) { return window.NativeShell.FileSystem.fileExists(path); } + return Promise.reject(); }, directoryExists: function (path) { if (window.NativeShell && window.NativeShell.FileSystem) { return window.NativeShell.FileSystem.directoryExists(path); } + return Promise.reject(); } }; }); \ No newline at end of file