Skip to content

Commit 1cabd29

Browse files
committed
remove default-folder
1 parent 51d822a commit 1cabd29

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ The jupyter-openvscodeserver-proxy can be configures via the following environme
2929
- Specifies how long jupyter-openvscodeserver-proxy shall wait for the OpenVSCode-Server to startup until it gives up.
3030
- `JUPYTER_OPENVSCODE_PROXY_USE_SOCKET` = `'FALSE' | 'TRUE'` , default = `FALSE`
3131
- Use unix sockets for highest security standards.
32-
- `JUPYTER_OPENVSCODE_PROXY_DEFAULT_FOLDER` = `<path>`, default=current working directory
33-
- The workspace folder to open when no input is specified in the browser URL. A relative or absolute path resolved against the current working directory.
3432

3533
### VSCode options
3634
- `JUPYTER_OPENVSCODE_PROXY_SERVER_DATA_DIR` = `<path>`

jupyter_openvscodeserver_proxy/__init__.py

-6
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ def _get_cmd(port, unix_socket):
109109
'version',
110110
'socket-path',
111111
'server-base-path',
112-
'default-folder',
113112
'server-data-dir',
114113
'user-data-dir',
115114
'extensions-dir',
@@ -151,11 +150,6 @@ def _get_cmd(port, unix_socket):
151150
else:
152151
cmd.append('--port={port}')
153152

154-
if supported_args['default-folder']:
155-
default_folder = os.getenv('JUPYTER_OPENVSCODE_PROXY_DEFAULT_FOLDER', None)
156-
if default_folder is not None:
157-
cmd.append('--default-folder=' + str(default_folder))
158-
159153
if supported_args['server-data-dir']:
160154
server_data_dir = os.getenv('JUPYTER_OPENVSCODE_PROXY_SERVER_DATA_DIR', None)
161155
if server_data_dir is not None:

0 commit comments

Comments
 (0)