You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by kn...@apache.org on 2019/03/09 06:35:59 UTC

[cordova-plugin-file] branch travis_tests updated: add further show log

This is an automated email from the ASF dual-hosted git repository.

knaito pushed a commit to branch travis_tests
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git


The following commit(s) were added to refs/heads/travis_tests by this push:
     new 21c65cd  add further show log
21c65cd is described below

commit 21c65cdb45594744d26ff54b4f9cb03c40e31b48
Author: knaito <kn...@asial.co.jp>
AuthorDate: Sat Mar 9 15:35:42 2019 +0900

    add further show log
---
 src/browser/FileProxy.js | 2 +-
 tests/tests.js           | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/browser/FileProxy.js b/src/browser/FileProxy.js
index 93de3c7..926cab7 100644
--- a/src/browser/FileProxy.js
+++ b/src/browser/FileProxy.js
@@ -589,7 +589,7 @@
                     exports.getFile(successCallback, function () {
                         window.customLog('log', 'getFile is called');
                         exports.getDirectory(successCallback, function (err) {
-                            window.customLog('log', 'getDirectory errorcallback is called');
+                            window.customLog('log', 'getDirectory errorcallback is called dir:' + pathsPrefix.dataDirectory + ', path: ' + path);
                             errorCallback(err);
                         }, [pathsPrefix.dataDirectory, path,
                         {create: false}]);
diff --git a/tests/tests.js b/tests/tests.js
index 7160ce9..6d36981 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -34,6 +34,7 @@ exports.defineAutoTests = function () {
     var MEDIUM_TIMEOUT = 15000;
 
     window.customLog = function (eventName, eventObject) {
+        console.log('eventName: ' + eventObject);
         window._jasmineParamedicProxyCache.push({
             eventName: eventName,
             eventObject: eventObject


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org