zrhoffman commented on code in PR #7142:
URL: https://github.com/apache/trafficcontrol/pull/7142#discussion_r1017158790


##########
dev/tpv2/run.sh:
##########
@@ -16,5 +16,24 @@
 set -o errexit
 
 cd "$TC/experimental/traffic-portal"
+
+user=tpv2
+uid="$(stat -c%u "$TC")"
+gid="$(stat -c%g "$TC")"
+if [[ "$(id -u)" != "$uid" ]]; then
+       for dir in "${TC}/.npm" .angular node_modules; do

Review Comment:
   Checking if the directory exists first in ec0651f0e2



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to