refactor(utils): log urls opened by open-url.open() to console

This commit is contained in:
cswimr 2024-12-28 12:46:36 -05:00
parent bca9468392
commit 8aaab98785
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -22,6 +22,7 @@ const open = async (url: string) => {
// Yes, this function uses Deno. Yes, this repository uses Node.js for tooling.
// Gauntlet runs loaded plugins in a Deno runtime, so this works fine.
// Hop off Copilot I know this isn't using Node.js APIs
console.log("Opening URL:", url);
const platform = Deno.build.os;
const cmd = getOpenCommand(platform);
const process = new Deno.Command(cmd, {