fix issue:artifactId not assigned in constructor (#42)

This commit is contained in:
Yan Zhang 2017-12-22 16:11:30 +08:00 коммит произвёл GitHub
Родитель caee21ca7a
Коммит 22ca1ebe90
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -13,6 +13,7 @@ export class ProjectItem extends TreeItem {
constructor(artifactId: string, workpacePath: string, absolutePath: string, params?: object) {
super(`${artifactId}`, TreeItemCollapsibleState.Collapsed);
this.artifactId = artifactId;
this.abosolutePath = absolutePath;
this.params = params || {};
this.contextValue = "ProjectItem";