Closed moritzheiber closed 3 years ago
disk-capacity is using sh, which doesn't support the syntax added for the button click guard. Fixed by using bash instead.
disk-capacity
sh
bash
Also slightly changed the way we're getting the free capacity to be less cumbersome to parse and only use awk instead of grep and awk.
awk
grep
Also added tests.
Looks good, thanks for the cleanup work and tests!
I just saw this in your reply to my slack post, @moritzheiber - thank you so much!
disk-capacity
is usingsh
, which doesn't support the syntax added for the button click guard. Fixed by usingbash
instead.Also slightly changed the way we're getting the free capacity to be less cumbersome to parse and only use
awk
instead ofgrep
andawk
.Also added tests.