This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push: new 18dda284 Fix #1476 18dda284 is described below commit 18dda284a7612d5a594e2427ab1713f55c160da4 Author: Marat Gubaidullin <ma...@talismancloud.io> AuthorDate: Thu Feb 13 12:50:28 2025 -0500 Fix #1476 --- karavan-vscode/src/extension.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/karavan-vscode/src/extension.ts b/karavan-vscode/src/extension.ts index ca716fbf..3a8a8e94 100644 --- a/karavan-vscode/src/extension.ts +++ b/karavan-vscode/src/extension.ts @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { ExtensionContext, Uri, window, workspace, commands, QuickPickItem } from 'vscode'; +import { ExtensionContext, Uri, window, workspace, commands, QuickPickItem, env} from 'vscode'; import { DesignerView } from "./designerView"; import { IntegrationView } from "./integrationView"; import { HelpView } from "./helpView"; @@ -24,6 +24,7 @@ import * as jbang from "./jbang"; import * as utils from "./utils"; import * as exec from "./exec"; import { TopologyView } from './topologyView'; +import vscode from "webview/vscode"; const KARAVAN_LOADED = "karavan:loaded"; @@ -168,7 +169,7 @@ export function activate(context: ExtensionContext) { // Create issue command commands.registerCommand('karavan.reportIssue', () => { - commands.executeCommand('open', Uri.parse('https://github.com/apache/camel-karavan/issues/new?title=[VS+Code]New+report&template=issue_template.md')); + env.openExternal(Uri.parse('https://github.com/apache/camel-karavan/issues/new?title=[VS+Code]New+report&template=issue_template.md')); }); }