Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6dbf272

Browse files
authored
fix(nodejs): correct condition for disabling quote package printing (#230)
1 parent dcd6305 commit 6dbf272

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nodejs/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ impl Config {
7272
if let Some(mode) = params.push_candlestick_mode {
7373
config = config.push_candlestick_mode(mode.into());
7474
}
75-
76-
if let Some(false) = params.enable_overnight {
75+
76+
if !params.enable_print_quote_packages {
7777
config = config.dont_print_quote_packages();
7878
}
7979

0 commit comments

Comments
 (0)