From 158ae0bfe900d2bac3076390c4fe3d2b54d94fe5 Mon Sep 17 00:00:00 2001 From: Stanislav <62983943+stanislavstrelnikov@users.noreply.github.com> Date: Tue, 7 Jul 2020 04:45:39 +0300 Subject: clean up code in cli/js (#6611) --- cli/js/ops/plugins.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cli/js/ops/plugins.ts') diff --git a/cli/js/ops/plugins.ts b/cli/js/ops/plugins.ts index e4593afbb..787fd799b 100644 --- a/cli/js/ops/plugins.ts +++ b/cli/js/ops/plugins.ts @@ -1,6 +1,7 @@ +// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. + import { sendSync } from "./dispatch_json.ts"; export function openPlugin(filename: string): number { - const rid = sendSync("op_open_plugin", { filename }); - return rid; + return sendSync("op_open_plugin", { filename }); } -- cgit v1.2.3