Skip to content

Commit

Permalink
fix: remove accidental debug statements in "date" (#2394)
Browse files Browse the repository at this point in the history
  • Loading branch information
universalmind303 committed Jan 16, 2022
1 parent 51de204 commit 1727b2b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions nodejs-polars/src/series.rs
Original file line number Diff line number Diff line change
Expand Up @@ -842,19 +842,14 @@ pub fn get_datetime(cx: CallContext) -> JsResult<JsUnknown> {
};
match ca.get(index) {
Some(v) => {
println!("value={:#?}", v);
cx.env.create_date(v as f64).map(|v| v.into_unknown())
}
None => {
println!("none at idx={:#?}", index);

cx.env.get_null().map(|v| v.into_unknown())
}
}
}
Err(_) => {
println!("err at idx={:#?}", index);

cx.env.get_null().map(|v| v.into_unknown())
}
}
Expand Down

0 comments on commit 1727b2b

Please sign in to comment.