diff options
author | Kim Alvefur <zash@zash.se> | 2023-05-26 21:18:27 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-05-26 21:18:27 +0200 |
commit | 09a2018e4011c00a7a3a33befc1d61dc8c4a3c6c (patch) | |
tree | 40c3c0b367d8dfbc8e373823e4e3aebb995f8959 /util/hashring.lua | |
parent | d947a5273cbbc2ec1d18cc6b4b08b49a95f0e7ef (diff) | |
download | prosody-09a2018e4011c00a7a3a33befc1d61dc8c4a3c6c.tar.gz prosody-09a2018e4011c00a7a3a33befc1d61dc8c4a3c6c.zip |
util.dependencies: Print tables itself to reduce number of imports
Rationale: See diffstat
When this module is imported, it ends up calling stty via term_width()
in util.human.io.table(). When this happens outside of a terminal, the
following message is sent to stdout:
stty: 'standard input': Inappropriate ioctl for device
Not importing this module avoids that.
Furthermore three is value in this module having minimal dependencies as
they might not be available when it does the checks.
Ref a1fed82c44b9
Diffstat (limited to 'util/hashring.lua')
0 files changed, 0 insertions, 0 deletions