diff options
Diffstat (limited to 'js/symlink.ts')
-rw-r--r-- | js/symlink.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/symlink.ts b/js/symlink.ts index 0e633f138..be5a41af8 100644 --- a/js/symlink.ts +++ b/js/symlink.ts @@ -1,6 +1,6 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. import * as msg from "gen/msg_generated"; -import { flatbuffers } from "flatbuffers"; +import * as flatbuffers from "./flatbuffers"; import * as dispatch from "./dispatch"; import * as util from "./util"; @@ -43,7 +43,7 @@ function req( if (type) { return util.notImplemented(); } - const builder = new flatbuffers.Builder(); + const builder = flatbuffers.createBuilder(); const oldname_ = builder.createString(oldname); const newname_ = builder.createString(newname); msg.Symlink.startSymlink(builder); |