Skip to content

Commit

Permalink
downgrade to open v6 due to
Browse files Browse the repository at this point in the history
  • Loading branch information
green3g committed Feb 3, 2020
1 parent e93660d commit 0c90995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -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"
}
}
2 changes: 2 additions & 0 deletions src/lib/ArcGISTreeProvider.ts
Expand Up @@ -162,8 +162,10 @@ export class ArcGISTreeProvider implements TreeDataProvider<ArcGISItem> {
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,
Expand Down

0 comments on commit 0c90995

Please sign in to comment.