summaryrefslogtreecommitdiff
path: root/cli/tools/jupyter/install.rs
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2024-01-18 23:16:14 +0100
committerGitHub <noreply@github.com>2024-01-18 23:16:14 +0100
commit88bc57d7643b4306d13cae72830a900cd81d1549 (patch)
tree97aedb550deed594be86717276332f4a7f91156b /cli/tools/jupyter/install.rs
parent35c1652f56f2a83380080b2c9942c595f80bd14d (diff)
feat(jupyter): don't require --unstable flag (#21963)
This commit removes the requirement for `--unstable` flag in `deno jupyter` subcommand. The process will no longer exit if this flag is not provided, however the subcommand itself is still considered unstable and might change in the future. Required for https://github.com/denoland/deno/pull/21452
Diffstat (limited to 'cli/tools/jupyter/install.rs')
-rw-r--r--cli/tools/jupyter/install.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/jupyter/install.rs b/cli/tools/jupyter/install.rs
index 3b2079db0..0c9b8b3e6 100644
--- a/cli/tools/jupyter/install.rs
+++ b/cli/tools/jupyter/install.rs
@@ -33,7 +33,7 @@ pub fn status() -> Result<(), AnyError> {
}
}
- println!("ℹ️ Deno kernel is not yet installed, run `deno jupyter --unstable --install` to set it up");
+ println!("ℹ️ Deno kernel is not yet installed, run `deno jupyter --install` to set it up");
Ok(())
}
@@ -56,7 +56,7 @@ pub fn install() -> Result<(), AnyError> {
// https://jupyter-client.readthedocs.io/en/stable/kernels.html#kernel-specs
// FIXME(bartlomieju): replace `current_exe` before landing?
let json_data = json!({
- "argv": [current_exe().unwrap().to_string_lossy(), "--unstable", "jupyter", "--kernel", "--conn", "{connection_file}"],
+ "argv": [current_exe().unwrap().to_string_lossy(), "jupyter", "--kernel", "--conn", "{connection_file}"],
"display_name": "Deno",
"language": "typescript",
});