diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-03 21:18:23 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-04 00:25:55 -0400 |
commit | 818ad37678e478039a9eccf543e1049fcdf32566 (patch) | |
tree | 2f97738e66c8c0b25d7fb2caa32dcec4d4d644c4 /js/trace.ts | |
parent | f774953011cb3ad85914bc9f5f66aa121f00528d (diff) |
Rename fbs to msg.
Diffstat (limited to 'js/trace.ts')
-rw-r--r-- | js/trace.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/trace.ts b/js/trace.ts index 42a9fe015..fb6860a76 100644 --- a/js/trace.ts +++ b/js/trace.ts @@ -1,5 +1,5 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. -import * as fbs from "gen/msg_generated"; +import * as msg from "gen/msg_generated"; export interface TraceInfo { sync: boolean; // is synchronous call @@ -41,7 +41,7 @@ function popStack(): TraceInfo[] { } // Push to trace stack if we are tracing -export function maybePushTrace(op: fbs.Any, sync: boolean): void { +export function maybePushTrace(op: msg.Any, sync: boolean): void { if (current === null) { return; // no trace requested } @@ -49,7 +49,7 @@ export function maybePushTrace(op: fbs.Any, sync: boolean): void { current!.list.push( Object.freeze({ sync, - name: fbs.Any[op] // convert to enum names + name: msg.Any[op] // convert to enum names }) ); } |