mirror of
https://github.com/denoland/deno
synced 2024-11-05 18:45:24 +00:00
refactor(core/runtime): clean up extra type cast (#15539)
This commit is contained in:
parent
e34260c5b0
commit
ecf3b51fd9
1 changed files with 1 additions and 1 deletions
|
@ -1942,7 +1942,7 @@ impl JsRuntime {
|
|||
let mut args = vec![];
|
||||
|
||||
for (promise_id, resp) in results.into_iter() {
|
||||
args.push(v8::Integer::new(scope, promise_id as i32).into());
|
||||
args.push(v8::Integer::new(scope, promise_id).into());
|
||||
args.push(resp.to_v8(scope).unwrap());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue