Skip to content

Commit

Permalink
refactor: reproduce command not found
Browse files Browse the repository at this point in the history
  • Loading branch information
cnblogs-dudu committed Dec 10, 2023
1 parent f5b0e5e commit 557f099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Alert } from '@/infra/alert'

export namespace Browser.Open {
export function open(url: string) {
return execCmd('vscode.open', Uri.parse(url))
throw Error('Unable to open ' + url)
}
}

Expand Down

0 comments on commit 557f099

Please sign in to comment.