Skip to content

Commit 05fab15

Browse files
committed
Wrap the Windows opener argv for the formatter
1 parent b656394 commit 05fab15

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/tui/url-links.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ export type UrlOpener = (url: string) => void;
175175
*/
176176
export function platformUrlCommand(platform: string, url: string): string[] {
177177
if (platform === "darwin") return ["open", url];
178-
if (platform === "win32") return ["rundll32", "url.dll,FileProtocolHandler", url];
178+
if (platform === "win32")
179+
return ["rundll32", "url.dll,FileProtocolHandler", url];
179180
return ["xdg-open", url];
180181
}
181182

0 commit comments

Comments
 (0)