File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,8 +155,7 @@ while read local_ref local_sha remote_ref remote_sha; do
155155 fi
156156
157157 # Hardcoded personal paths (/Users/foo/, /home/foo/, C:\\Users\\foo\\).
158- # Skip binary files — compiled binaries contain build-machine paths.
159- if [ " $is_binary " = false ] && echo " $file_text " | grep -qE ' (/Users/[^/\s]+/|/home/[^/\s]+/|C:\\Users\\[^\\]+\\)' ; then
158+ if echo " $file_text " | grep -qE ' (/Users/[^/\s]+/|/home/[^/\s]+/|C:\\Users\\[^\\]+\\)' ; then
160159 printf " ${RED} ✗ BLOCKED: Hardcoded personal path found in: %s${NC} \n" " $file "
161160 echo " $file_text " | grep -nE ' (/Users/[^/\s]+/|/home/[^/\s]+/|C:\\Users\\[^\\]+\\)' | head -3
162161 ERRORS=$(( ERRORS + 1 ))
Original file line number Diff line number Diff line change 22 "extends" : " ./.config/tsconfig.base.json" ,
33 "compilerOptions" : {
44 "module" : " commonjs" ,
5- "moduleResolution" : " node " ,
5+ "moduleResolution" : " node16 " ,
66 "outDir" : " dist" ,
77 "rootDir" : " src" ,
88 "noEmit" : false ,
You can’t perform that action at this time.
0 commit comments