From 521f09f79fc8980089bb47221737223c52550125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20Br=C3=A4utigam?= Date: Wed, 27 Mar 2019 15:38:37 +0100 Subject: [PATCH] Fix Issue #213 --- src/components/filesystem.js | 2 ++ 1 file changed, 2 insertions(+) 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