Skip to content

Commit

Permalink
Show Create tasks.json file from template in workspaces
Browse files Browse the repository at this point in the history
Fixes #80221
  • Loading branch information
alexr00 committed Sep 5, 2019
1 parent 33f336c commit 3fa5e01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2152,7 +2152,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
return taskPromise.then((taskMap) => {
type EntryType = (IQuickPickItem & { task: Task; }) | (IQuickPickItem & { folder: IWorkspaceFolder; });
let entries: QuickPickInput<EntryType>[] = [];
if (this.contextService.getWorkbenchState() === WorkbenchState.FOLDER) {
if (this.contextService.getWorkbenchState() !== WorkbenchState.EMPTY) {
let tasks = taskMap.all();
let needsCreateOrOpen: boolean = true;
if (tasks.length > 0) {
Expand Down

0 comments on commit 3fa5e01

Please sign in to comment.