We are using a lot `Deno.build.os === "windows"` though we have cleaner solution for our code.

We have our own wrapper
https://github.com/quarto-dev/quarto-cli/blob/20e627913e1f4ebd4df9ad8d8140c40b08752824/src/core/platform.ts#L12-L14

and there is one also in https://deno.land/std@0.166.0/_util/os.ts

I believe this would be beneficial for our code to be simpler with less duplication
cderv
2023-03-07T10:00:48Z
cderv
Future
open
Chores: Clean usage of `Deno.build.os` for Windows to reduce duplication
https://github.com/quarto-dev/quarto-cli/issues/4663