From 153aedec2e1b89e6214c16d5341dd1f9284c77b4 Mon Sep 17 00:00:00 2001 From: CSK <73425927+cr2007@users.noreply.github.com> Date: Tue, 15 Oct 2024 09:40:32 +0000 Subject: [PATCH] Fixes issue with `postCreateCommand` in `devcontainer.json` Gives executable permission to 'setup_dev_env.sh' file before running the script. --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d326908..3d79c80 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -22,6 +22,6 @@ // "source=${localEnv:HOME}${localEnv:USERPROFILE}/.gitconfig,target=~/.gitconfig,type=bind,consistency=cached" // ] - "postCreateCommand": "./.devcontainer/setup_dev_env.sh", + "postCreateCommand": "chmod +x ./.devcontainer/setup_dev_env.sh && ./.devcontainer/setup_dev_env.sh", "postStartCommand": "chmod +x create_tag.sh" }