mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-29 10:28:04 +03:00
12 lines
373 B
Bash
Executable File
12 lines
373 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Output stderr and stdout to the terminal, but only save stderr to a file
|
|
# Isn't bash wonderful?
|
|
|
|
# I can't figure out how to make it write to failed-tests.log instead of appending
|
|
# so, whatever.
|
|
# look. I don't like bash much.
|
|
# I'd rather spend 0% of my time here.
|
|
rm failed-tests.log -f
|
|
|
|
ts-node test/collections.test.ts 2> >(tee -a failed-tests.log >&2) |