mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-07 04:31:24 +00:00
the file doesnt have 99 lines.... ffs
This commit is contained in:
parent
586e599ab6
commit
0974d323ab
1 changed files with 2 additions and 3 deletions
|
@ -52,6 +52,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
if bashio::config.has_value 'log_level'; then
|
if bashio::config.has_value 'log_level'; then
|
||||||
|
# shellcheck disable=SC2154
|
||||||
sed -i "/log_level=/c log_level=\"$log_level\"" "$CODE_SERVER_CONFIG"
|
sed -i "/log_level=/c log_level=\"$log_level\"" "$CODE_SERVER_CONFIG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -93,6 +94,4 @@ fi
|
||||||
|
|
||||||
if ! bashio::fs.file_exists "$user_path"/workspaces.json; then
|
if ! bashio::fs.file_exists "$user_path"/workspaces.json; then
|
||||||
cp "$DEFAULT_FILES_PATH/workspaces.json" "$user_path/workspaces.json"
|
cp "$DEFAULT_FILES_PATH/workspaces.json" "$user_path/workspaces.json"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
|
Loading…
Add table
Add a link
Reference in a new issue