summaryrefslogtreecommitdiff
path: root/cli/js/ops/plugins.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/ops/plugins.ts')
-rw-r--r--cli/js/ops/plugins.ts5
1 files changed, 3 insertions, 2 deletions
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 });
}