fix error on showing dependency tree (#398)
* fix error on showing dependency tree * update change log
This commit is contained in:
Родитель
c3cad96b91
Коммит
45f4d55248
|
@ -2,8 +2,12 @@
|
|||
All notable changes to the "vscode-maven" extension will be documented in this file.
|
||||
|
||||
## 0.19.0
|
||||
#### Added
|
||||
- Add inline action buttons in Maven explorer.
|
||||
|
||||
#### Fixed
|
||||
- Cannot show dependencies.
|
||||
|
||||
## 0.18.2
|
||||
#### Fixed
|
||||
- Typo in Hover information. [#368](https://github.com/microsoft/vscode-maven/issues/368)
|
||||
|
|
|
@ -34,8 +34,8 @@ async function getDependencyTree(pomPathOrMavenProject: string | MavenProject):
|
|||
async (resolve, reject): Promise<void> => {
|
||||
p.report({ message: `Generating Dependency Tree: ${name}` });
|
||||
try {
|
||||
await rawDependencyTree(pomPath);
|
||||
resolve();
|
||||
const rawData: string | undefined = await rawDependencyTree(pomPath);
|
||||
resolve(rawData);
|
||||
return;
|
||||
} catch (error) {
|
||||
setUserError(<Error>error);
|
||||
|
|
Загрузка…
Ссылка в новой задаче