@microsoft/vscode-azext-github 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,7 +30,8 @@ function getGitHubAccessToken() {
|
|
|
30
30
|
return token;
|
|
31
31
|
}
|
|
32
32
|
catch (error) {
|
|
33
|
-
|
|
33
|
+
// The error message is "User did not consent to login"
|
|
34
|
+
if (/did not consent/i.test((0, vscode_azext_utils_1.parseError)(error).message)) {
|
|
34
35
|
throw new vscode_azext_utils_1.UserCancelledError('getGitHubToken');
|
|
35
36
|
}
|
|
36
37
|
throw error;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/vscode-azext-github",
|
|
3
3
|
"author": "Microsoft Corporation",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "Common GitHub tools for VS Code",
|
|
6
6
|
"tags": [
|
|
7
7
|
"azure",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
"@types/glob": "^8.1.0",
|
|
36
36
|
"@types/mocha": "^7.0.2",
|
|
37
37
|
"@types/node": "^16.0.0",
|
|
38
|
-
"@types/vscode": "1.
|
|
38
|
+
"@types/vscode": "^1.94.0",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
|
40
|
-
"@vscode/test-electron": "^2.
|
|
40
|
+
"@vscode/test-electron": "^2.3.8",
|
|
41
41
|
"eslint": "^8.34.0",
|
|
42
42
|
"eslint-plugin-import": "^2.22.1",
|
|
43
43
|
"glob": "^7.1.6",
|
|
44
|
-
"mocha": "^
|
|
44
|
+
"mocha": "^10.8.2",
|
|
45
45
|
"mocha-junit-reporter": "^2.0.2",
|
|
46
46
|
"mocha-multi-reporters": "^1.1.7",
|
|
47
47
|
"typescript": "^5.1.3"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@microsoft/vscode-azext-utils": "^2.0.0",
|
|
51
|
-
"@octokit/rest": "^
|
|
51
|
+
"@octokit/rest": "^20.1.2"
|
|
52
52
|
}
|
|
53
53
|
}
|