mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 12:58:54 -05:00
Use snake-case for cmd_id.
This commit is contained in:
parent
0b61d955eb
commit
42e7b7b3e7
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ fn reply_error(d: *const DenoC, cmd_id: u32, msg: &String) {
|
|||
let mut builder = flatbuffers::FlatBufferBuilder::new();
|
||||
// println!("reply_error{}", msg);
|
||||
let args = msg::BaseArgs {
|
||||
cmdId: cmd_id,
|
||||
cmd_id: cmd_id,
|
||||
error: Some(builder.create_string(msg)),
|
||||
..Default::default()
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ union Any {
|
|||
}
|
||||
|
||||
table Base {
|
||||
cmdId: uint32;
|
||||
cmd_id: uint32;
|
||||
error: string;
|
||||
msg: Any;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue