denosaurs/denon

Cannot install denon v2.4.3

iyuanfang opened this issue · 1 comments

I use the command to install denon:

deno install --allow-read --allow-run --allow-write --allow-net -f -q --unstable https://deno.land/x/denon/denon.ts

but has the error:
error: TS2367 [ERROR]: This condition will always return 'true' since the types '"main"' and '"master"' have no overlap. if (BRANCH !== "master") { ~~~~~~~~~~~~~~~~~~~ at https://deno.land/x/denon@2.4.3/denon.ts:121:7

Thanks for spotting this. Should be fixed in c78788f.

You can now install it with:

$ deno install -qAf --unstable https://deno.land/x/denon@2.4.4/denon.ts