From 697e21e5d17fd09ca12c8304529b032fa1ff48c9 Mon Sep 17 00:00:00 2001 From: Pavel Ivanov Date: Tue, 9 Jan 2024 21:28:19 +0100 Subject: [PATCH 1/2] new: enabled ci for release branches --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 796b1cc6..f776875f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [master] + branches: [master, release/*] pull_request: - branches: [master] + branches: [master, release/*] env: CARGO_TERM_COLOR: always From fb294cd6e21913a6ddfc6a92ee92dc03362b76ef Mon Sep 17 00:00:00 2001 From: Pavel Ivanov Date: Tue, 9 Jan 2024 21:17:02 +0100 Subject: [PATCH 2/2] fix: fixed missing new-line characters in follow mode --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/app.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c321578b..834ea0f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -718,7 +718,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hl" -version = "0.23.2" +version = "0.23.3" dependencies = [ "atoi", "bincode", diff --git a/Cargo.toml b/Cargo.toml index fca87dec..23c7093c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ categories = ["command-line-utilities"] description = "Utility for viewing json-formatted log files." keywords = ["cli", "human", "log"] name = "hl" -version = "0.23.2" +version = "0.23.3" edition = "2021" build = "build.rs" diff --git a/src/app.rs b/src/app.rs index e535fcc5..632777db 100644 --- a/src/app.rs +++ b/src/app.rs @@ -489,6 +489,7 @@ impl App { mem_usage -= entry.1.1.end - entry.1.1.start; output.write_all(sync_indicator.value.as_bytes())?; output.write_all(&entry.1.0[entry.1.1.clone()])?; + output.write_all(&[b'\n'])?; } }