mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-04-19 06:07:50 -06:00
Trying to fix issue if data authentication already exist.
Some checks failed
Build and Push Docker Image ARM64 / docker (push) Failing after 1m52s
Some checks failed
Build and Push Docker Image ARM64 / docker (push) Failing after 1m52s
This commit is contained in:
parent
d84caeb8cf
commit
0fe46e635d
@ -159,8 +159,8 @@ fi
|
||||
|
||||
# Check if CLI directory exists and has content
|
||||
if [ -d "/home/${HOME_USER}/.vscode/cli" ] && [ "$(ls -A /home/${HOME_USER}/.vscode/cli 2>/dev/null)" ]; then
|
||||
# CLI directory exists and has content, use restart
|
||||
sudo su ${HOME_USER} -c "code tunnel restart --cli-data-dir /home/${HOME_USER}/.vscode/cli"
|
||||
# CLI directory exists and has content, use cli data
|
||||
sudo su ${HOME_USER} -c "code tunnel --cli-data-dir /home/${HOME_USER}/.vscode/cli"
|
||||
else
|
||||
# No CLI directory or empty, use normal startup
|
||||
if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||
|
@ -1 +1 @@
|
||||
3.2.2
|
||||
3.2.3
|
||||
|
Loading…
Reference in New Issue
Block a user