We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a89d6fc + 112c422 commit 556ca53Copy full SHA for 556ca53
stackyter.py
@@ -180,12 +180,7 @@ def get_config(config, configfile):
180
{run_before}
181
{user_setup}
182
{run_after}
183
- case "{args.jupyter}" in
184
- lab)
185
- jupyter_version=$(jupyter --version | grep 'jupyter lab' | awk '{{print $4}}' | awk -F '.' '{{print $1}}');;
186
- notebook)
187
- jupyter_version=$(jupyter --version | grep 'jupyter-notebook' | awk '{{print $3}}' | awk -F '.' '{{print $1}}');;
188
- esac
+ jupyter_version=$(jupyter --version | grep '{args.jupyter}' | awk '{{print $NF}}' | awk -F '.' '{{print $1}}')
189
function get_servers() {{
190
local version=$1
191
local flavor="{args.jupyter}"
0 commit comments