diff --git a/code/extensions/che-commands/src/taskProvider.ts b/code/extensions/che-commands/src/taskProvider.ts index 183789e10d0..154f2cff2cb 100644 --- a/code/extensions/che-commands/src/taskProvider.ts +++ b/code/extensions/che-commands/src/taskProvider.ts @@ -38,7 +38,7 @@ export class DevfileTaskProvider implements vscode.TaskProvider { const cheTasks: vscode.Task[] = devfileCommands! .filter(command => command.exec?.commandLine) - .filter(command => !command.attributes || (command.attributes as any)['controller.devfile.io/imported-by'] === undefined) + .filter(command => !command.attributes || (command.attributes as any)['controller.devfile.io/imported-by'] === (undefined || 'parent')) .map(command => this.createCheTask(command.exec?.label || command.id, command.exec?.commandLine!, command.exec?.workingDir || '${PROJECT_SOURCE}', command.exec?.component!, command.exec?.env)); return cheTasks; }