diff --git a/code/extensions/che-commands/src/taskProvider.ts b/code/extensions/che-commands/src/taskProvider.ts index a9381c1c20b..24467a2ea70 100644 --- a/code/extensions/che-commands/src/taskProvider.ts +++ b/code/extensions/che-commands/src/taskProvider.ts @@ -37,7 +37,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'] !== 'editor') + .filter(command => !command.attributes || (command.attributes as any)['controller.devfile.io/imported-by'] === undefined) .map(command => this.createCheTask(command.exec?.label || command.id, command.exec?.commandLine!, command.exec?.workingDir || '${PROJECT_SOURCE}', command.exec?.component!)); return cheTasks; }