Skip to content

Commit

Permalink
#203 info fixes to empty window tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul-Biju committed Nov 23, 2023
1 parent 47da67c commit 14656fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/liberty/libertyProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { EXCLUDED_DIR_PATTERN, LIBERTY_GRADLE_PROJECT, LIBERTY_GRADLE_PROJECT_CO
import { BuildFileImpl, GradleBuildFile } from "../util/buildFile";
import { DashboardData } from "./dashboard";
import { BaseLibertyProject } from "./baseLibertyProject";
import path = require("path");


const MAVEN_ICON = "maven-tag.png";
const GRADLE_ICON = "gradle-tag-1.png";
Expand Down Expand Up @@ -215,9 +215,9 @@ export class ProjectProvider implements vscode.TreeDataProvider<LibertyProject>
// eslint-disable-next-line @typescript-eslint/no-unused-vars
public async getChildren(element?: LibertyProject): Promise<LibertyProject[]> {

if (this.projects.size <= 0 ) {
return Promise.resolve([]);
}
if (this.projects.size <= 0) {
return Promise.resolve([]);
}
if (vscode.workspace.workspaceFolders === undefined) {
vscode.window.showInformationMessage(localize("no.liberty.project.found.in.empty.workspace"));
return [];
Expand Down

0 comments on commit 14656fd

Please sign in to comment.