diff options
Diffstat (limited to 'cli/js/plugins.ts')
-rw-r--r-- | cli/js/plugins.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/js/plugins.ts b/cli/js/plugins.ts index 4d2072c79..44a3083bb 100644 --- a/cli/js/plugins.ts +++ b/cli/js/plugins.ts @@ -1,5 +1,4 @@ import { sendSync } from "./dispatch_json.ts"; -import { OP_OPEN_PLUGIN } from "./dispatch.ts"; import { core } from "./core.ts"; export interface AsyncHandler { @@ -59,7 +58,7 @@ interface OpenPluginResponse { } export function openPlugin(filename: string): Plugin { - const response: OpenPluginResponse = sendSync(OP_OPEN_PLUGIN, { + const response: OpenPluginResponse = sendSync("op_open_plugin", { filename }); return new PluginImpl(response.rid, response.ops); |