Skip to content

Commit

Permalink
remove left-over code
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 31, 2024
1 parent 82e37dc commit 8a4ede8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/turbopack-ecmascript/src/analyzer/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,6 @@ pub fn replace_builtin(value: &mut JsValue) -> bool {
}
}
}
part_properties.truncate(parts.len());
// If we reduced the expression to a single value, we can replace it.
if parts.len() == 1 {
*value = parts.pop().unwrap();
Expand Down

0 comments on commit 8a4ede8

Please sign in to comment.