fix(code-server): handle when the extension folder does not exist yet (#278)

This commit is contained in:
Michael Brewer
2024-08-14 00:17:39 -07:00
committed by GitHub
parent 310d0262bd
commit 4c45d69994

View File

@@ -10,6 +10,7 @@ CODE_SERVER="${INSTALL_PREFIX}/bin/code-server"
EXTENSION_ARG=""
if [ -n "${EXTENSIONS_DIR}" ]; then
EXTENSION_ARG="--extensions-dir=${EXTENSIONS_DIR}"
mkdir -p "${EXTENSIONS_DIR}"
fi
function run_code_server() {