Make `ci/_` to print to stderr instead of stdout (#32238)

* make _ print to stderr instead...

* Trigger normal build procedure
This commit is contained in:
Ryo Onodera 2023-06-22 15:46:22 +09:00 committed by GitHub
parent 830c0ad04a
commit f62d231886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
ci/_
View File

@ -9,9 +9,9 @@ base_dir=$(realpath --strip "$(dirname "$0")/..")
_() {
if [[ $(pwd) = $base_dir ]]; then
echo "--- $*"
echo "--- $*" > /dev/stderr
else
echo "--- $* (wd: $(pwd))"
echo "--- $* (wd: $(pwd))" > /dev/stderr
fi
"$@"
}

View File

@ -8439,7 +8439,7 @@ impl Bank {
bank_creation_time: &Instant,
max_tx_ingestion_nanos: u128,
) -> bool {
// Do this check outside of the poh lock, hence not a method on PohRecorder
// Do this check outside of the PoH lock, hence not a method on PohRecorder
bank_creation_time.elapsed().as_nanos() <= max_tx_ingestion_nanos
}