mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 01:26:09 +00:00
Limit replacement to JS files only
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
VALUE=$1
|
||||
|
||||
find /app/public /app/.next -type f ! -name "*.png" ! -name "*.svg" ! -name "*.gif" ! -name "*.jpg" ! -name "*.jpeg" ! -name "*.ico" |
|
||||
find /app/public /app/.next -type f -name "*.js" |
|
||||
while read file; do
|
||||
sed -i "s|TELEMETRY_CAPTURING_ENABLED|$VALUE|g" "$file"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user