diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-04-25 09:31:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 09:31:54 -0400 |
commit | 0c47cd67850e4c195212c8edfcb3a62b8435ed3a (patch) | |
tree | b397da0f498e76e078b6b79365388b31f2bd97ba /cli/ops/plugins.rs | |
parent | b28e60ecaf5d48c36cb435361834f4884d9451c2 (diff) |
introduce unstable flag, make a few things unstable (#4892)
Diffstat (limited to 'cli/ops/plugins.rs')
-rw-r--r-- | cli/ops/plugins.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/ops/plugins.rs b/cli/ops/plugins.rs index 17f366d39..f4212f579 100644 --- a/cli/ops/plugins.rs +++ b/cli/ops/plugins.rs @@ -39,6 +39,7 @@ pub fn op_open_plugin( args: Value, _zero_copy: Option<ZeroCopyBuf>, ) -> Result<JsonOp, OpError> { + state.check_unstable("Deno.openPlugin"); let args: OpenPluginArgs = serde_json::from_value(args).unwrap(); let filename = deno_fs::resolve_from_cwd(Path::new(&args.filename))?; |