denosaurs / wait

🌀 Minimal terminal spinner
https://deno.land/x/wait
MIT License
60 stars 5 forks source link

[BUG] Using wait in CI #4

Open SteelAlloy opened 4 years ago

SteelAlloy commented 4 years ago

When used in a CI env, wait throws an error.

"Error: Inappropriate ioctl for device (os error 25)\n    at Object.jsonOpSync (core.js:247:13)\n    at Object.consoleSize (deno:cli/rt/40_tty.js:7:17)\n    at Spinner.updateLines (mod.ts:201:26)\n    at Spinner.set text (mod.ts:128:10)\n    at new Spinner (mod.ts:83:14)\n    at wait (mod.ts:48:10)\n    at Function.info (log.ts:182:12)\n    at checkUp (publish.ts:156:26)\n    at Command.publishCommand [as fn] (publish.ts:272:14)\n    at async Command.execute (command.ts:796:9)"

https://github.com/nestdotland/eggs/pull/79/checks?check_run_id=1138695456#step:6:797

eliassjogreen commented 4 years ago

This is most likely an error with deno itself considering it seems to originate in cli/rt/40_tty.js:7:17.

notfilippo commented 4 years ago

Agree with @eliassjogreen