diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-05-06 19:32:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-06 19:32:03 +0200 |
commit | 1e8e44f4c31688ac55100f96bdab27723eb6e575 (patch) | |
tree | 820c3b61ded766ecb912eefddaae4894e399555c /cli/build.rs | |
parent | f208e6a26f3c21c25dbfcfe29491a6f5660c999d (diff) |
refactor(ops): replace `ZeroCopyBuf` arg by 2nd generic deserializable arg (#10448)
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/build.rs b/cli/build.rs index d4e6a92ab..eb8a71c8c 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -156,7 +156,7 @@ fn create_compiler_snapshot( }); js_runtime.register_op( "op_build_info", - op_sync(move |_state, _args: Value, _bufs| { + op_sync(move |_state, _args: Value, _: ()| { Ok(json!({ "buildSpecifier": build_specifier, "libs": build_libs, @@ -167,7 +167,7 @@ fn create_compiler_snapshot( // files, but a slightly different implementation at build time. js_runtime.register_op( "op_load", - op_sync(move |_state, args, _bufs| { + op_sync(move |_state, args, _: ()| { let v: LoadArgs = serde_json::from_value(args)?; // we need a basic file to send to tsc to warm it up. if v.specifier == build_specifier { |