Skip to content

Commit

Permalink
Tweak chown to skip .git folder
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingphilippe committed Oct 18, 2024
1 parent 3dae5ae commit 921bb26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/scripts/notify-dev-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ set -ex
# Tell git the workspace repository is safe, else upcoming commands will fail.
git config --global --add safe.directory /workspaces/notification-admin

chown -R vscode:vscode /workspaces/notification-admin
find /workspaces/notification-admin \
-name .git -prune -o \
-exec chown vscode:vscode {} +
sudo -u vscode -i -- /usr/local/bin/installations.sh

0 comments on commit 921bb26

Please sign in to comment.