Skip to content

Commit 974e7e4

Browse files
Merge master into feature/agentic-chat
2 parents 63a28b8 + caf9775 commit 974e7e4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/core/src/shared/vscode/commands2.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,6 @@ export class Commands {
159159
id: string,
160160
...args: Parameters<T>
161161
): Promise<ReturnType<T> | undefined> {
162-
const cmd = this.resources.get(id)
163-
if (!cmd) {
164-
getLogger().debug('command not found: "%s"', id)
165-
return undefined
166-
}
167162
return this.commands.executeCommand<ReturnType<T>>(id, ...args)?.then(undefined, (e: Error) => {
168163
getLogger().warn('command failed (not registered?): "%s"', id)
169164
return undefined

0 commit comments

Comments
 (0)