Skip to content

Commit

Permalink
Merge pull request #32 from tkukurin/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
betatim authored Nov 25, 2022
2 parents 7d2b954 + b0d3b5e commit e08502d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions jupyter_vscode_proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def _get_vscode_cmd(port):
working_dir = os.getenv("CODE_WORKINGDIR", ".")

extensions_dir = os.getenv("CODE_EXTENSIONSDIR", None)
extra_extensions_dir = os.getenv("CODE_EXTRA_EXTENSIONSDIR", None)

cmd = [
executable,
"--auth",
Expand All @@ -27,15 +25,12 @@ def _get_vscode_cmd(port):
if extensions_dir:
cmd += ["--extensions-dir", extensions_dir]

if extra_extensions_dir:
cmd += ["--extra-extensions-dir", extra_extensions_dir]

cmd.append(working_dir)
return cmd

return {
"command": _get_vscode_cmd,
"timeout": 20,
"timeout": 300,
"new_browser_tab": True,
"launcher_entry": {
"title": "VS Code",
Expand Down

0 comments on commit e08502d

Please sign in to comment.