You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by am...@apache.org on 2018/01/03 18:25:23 UTC

[couchdb-fauxton] branch upgrade-to-eslint-v4 updated: Reverting because syntax is not valid in Node

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

amaranhao pushed a commit to branch upgrade-to-eslint-v4
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git


The following commit(s) were added to refs/heads/upgrade-to-eslint-v4 by this push:
     new b2a855f  Reverting because syntax is not valid in Node
b2a855f is described below

commit b2a855fbd1af36b5d943e0e90d73acea8f687d4b
Author: Antonio Maranhao <an...@Antonios-MacBook-Pro.local>
AuthorDate: Wed Jan 3 13:25:15 2018 -0500

    Reverting because syntax is not valid in Node
---
 app/addons/replication/components/common-table.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/addons/replication/components/common-table.js b/app/addons/replication/components/common-table.js
index 76a5029..1365817 100644
--- a/app/addons/replication/components/common-table.js
+++ b/app/addons/replication/components/common-table.js
@@ -23,7 +23,7 @@ export const formatUrl = (url) => {
   try {
     urlObj = new URL(removeCredentialsFromUrl(url));
     encoded = encodeURIComponent(urlObj.pathname.slice(1));
-  } catch {
+  } catch (e) {
     return '';
   }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].