Skip to content

Commit

Permalink
Skip notifier when using --raw
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed May 6, 2024
1 parent 5dfba00 commit aa8ef86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bin/sys-lend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
} else {
format!("{pool} {token} {value}{}", if bps { "bps" } else { "%" })
};
notifier.send(&msg).await;
if !raw {
notifier.send(&msg).await;
}
println!("{msg}");
}
("supply-balance", Some(matches)) => {
Expand Down

0 comments on commit aa8ef86

Please sign in to comment.