Skip to content

Commit 8091770

Browse files
committed
MVP
1 parent 51c9e45 commit 8091770

4 files changed

Lines changed: 121 additions & 21 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ JavaScript, TypeScript, Java, C/C++, and Python are currently supported.
4646

4747
- We've prepared a 2 minutes video on how to install the extension. Head over to YouTube to quickly get the extension up and running:
4848

49-
<a href="https://www.youtube.com/watch?v=Cfe4OMvlfpc&utm_source=vscode-extension-readme" target="_blank"><img src="images/how-to-install-vs-code-extension.png"></a>
49+
<a href="https://www.youtube.com/watch?v=Cfe4OMvlfpc&utm_source=vscode-extension-readme" target="_blank">![](images/how-to-install-vs-code-extension.png)</a>
5050

5151
## Tips on the installation process
5252

@@ -64,7 +64,7 @@ JavaScript, TypeScript, Java, C/C++, and Python are currently supported.
6464

6565
- Here is a video on how to use the extension. In short - don't forget to save and you will be in good hands:
6666

67-
<a href="https://www.youtube.com/watch?v=NIDeVYLWkMI&utm_source=vscode-extension-readme" target="_blank"><img src="images/how-to-use-vs-code-extension.png"></a>
67+
<a href="https://www.youtube.com/watch?v=NIDeVYLWkMI&utm_source=vscode-extension-readme" target="_blank">![](images/how-to-use-vs-code-extension.png)</a>
6868

6969
## DeepCode in action
7070

@@ -88,7 +88,7 @@ There are two key steps here:
8888

8989
- If the above information is not enough and want to see it in action, here is a video:
9090

91-
<a href="https://www.youtube.com/watch?v=sjDuDqUy7pw&utm_source=vscode-extension-readme" target="_blank"><img src="images/how-to-toggle-suggestions.png"></a>
91+
<a href="https://www.youtube.com/watch?v=sjDuDqUy7pw&utm_source=vscode-extension-readme" target="_blank">![](images/how-to-toggle-suggestions.png)</a>
9292

9393
## .dcignore file
9494

package-lock.json

Lines changed: 114 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "deepcode",
33
"//": "Changing display name requires change in general.ts",
44
"displayName": "DeepCode",
5-
"version": "2.2.1",
5+
"version": "3.0.0",
66
"description": "DeepCode finds bugs, security vulnerabilities, performance and API issues based on AI. DeepCode's speed of analysis allow us to analyse your code in real time and deliver results when you hit the save button in Visual Studio Code. We support Java, C/C++, JavaScript, Python, TypeScript.",
77
"icon": "images/deepCodeLogo.jpg",
88
"publisher": "deepcode",
@@ -126,7 +126,7 @@
126126
"viewsWelcome": [
127127
{
128128
"view": "deepcode.views.error",
129-
"contents": "DeepCode is temporarily unavailable, we are automatically retrying to connect...",
129+
"contents": "DeepCode is temporarily unavailable\nWe are automatically retrying to connect...",
130130
"when": "deepcode:error == 'transient'"
131131
},
132132
{
@@ -206,7 +206,7 @@
206206
"@types/vscode": "^1.46.0",
207207
"@types/nock": "^11.1.0",
208208
"glob": "^7.1.6",
209-
"mocha": "^8.0.1",
209+
"mocha": "^8.1.1",
210210
"typescript": "^3.9.5",
211211
"eslint": "^7.3.1",
212212
"eslint-plugin-import": "^2.21.2",

src/deepcode/lib/modules/BundlesModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ abstract class BundlesModule extends LoginModule
225225
this.onError(error);
226226
});
227227

228-
await http.analyse(this.baseURL, this.token, path, this.files).catch(err => {});
228+
http.analyse(this.baseURL, this.token, path, this.files).catch((error) => this.onError(error));
229229
// });
230230
}
231231

0 commit comments

Comments
 (0)