From be3cd351f00875438bdf199b01bdee25126f6cac Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Wed, 18 Dec 2024 20:56:22 +0000 Subject: [PATCH 1/2] chore: make postAttach.sh executable --- .devcontainer/postAttach.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .devcontainer/postAttach.sh diff --git a/.devcontainer/postAttach.sh b/.devcontainer/postAttach.sh old mode 100644 new mode 100755 From 71fbcb6bdc6a15dcae06919c6a8986f63c8c521f Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Wed, 18 Dec 2024 21:10:15 +0000 Subject: [PATCH 2/2] fix: remap workspace folder into the /caltrans/app directory following the appcontainer --- .devcontainer/postAttach.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/postAttach.sh b/.devcontainer/postAttach.sh index ceb4aa8..943175d 100755 --- a/.devcontainer/postAttach.sh +++ b/.devcontainer/postAttach.sh @@ -2,5 +2,5 @@ set -eux # initialize pre-commit -git config --global --add safe.directory /home/$USER/src +git config --global --add safe.directory /$USER/app pre-commit install --install-hooks --overwrite