From 0c9099544ce3ba8bea3f5379c7def227c35d5ebd Mon Sep 17 00:00:00 2001 From: Gregg Date: Mon, 3 Feb 2020 15:40:13 -0600 Subject: [PATCH] downgrade to open v6 due to https://github.com/sindresorhus/open/issues/154 --- package.json | 3 ++- src/lib/ArcGISTreeProvider.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cdc2669..71db064 100644 --- a/package.json +++ b/package.json @@ -115,6 +115,7 @@ "@esri/arcgis-rest-portal": "^2.6.1", "arcgis-node-util": "^1.4.0", "copy-paste": "^1.3.0", - "json-stringify-pretty-compact": "^2.0.0" + "json-stringify-pretty-compact": "^2.0.0", + "open": "^6.4.0" } } diff --git a/src/lib/ArcGISTreeProvider.ts b/src/lib/ArcGISTreeProvider.ts index c883d9d..d6612d4 100644 --- a/src/lib/ArcGISTreeProvider.ts +++ b/src/lib/ArcGISTreeProvider.ts @@ -162,8 +162,10 @@ export class ArcGISTreeProvider implements TreeDataProvider { return; } + this.logger(`Creating new portal connection to url: ${url}, app: ${appId}`) const connection = new PortalConnection({portal: url, appId}); await connection.authenticate(); + this.logger(`Authentication successful. Username: ${connection.authentication.username}`) this.portals.push({ title: connection.portal,