Commit 78da06f
[PR] Carry on even if there is no TERM environment variable set.
Summary:
There are a few continuous integration systems which act as STDOUT is a
TTY, but don't set `TERM`. On those occasions, we get the following
error message:
Fatal error: exception Not_found
This, obviously, makes it pretty hard to figure out what the actual
problem is. An alternative implementation could throw a better error,
but it felt like defaulting to `"dumb"` was a reasonable solution here.
I couldn't see a reasonable place to put tests, so I omitted them. If there
is, please let me know.
Closes facebook#3305
Differential Revision: D4486056
Pulled By: mroch
fbshipit-source-id: e3a7cf88d6edc49e603b18a7e7f1ba11089eb0b71 parent 46bab02 commit 78da06f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments