parent
f9877e2c07
commit
b76f022248
@ -1,14 +0,0 @@ |
|||||||
#!/bin/bash |
|
||||||
|
|
||||||
# Find all project.json files in subdirectories |
|
||||||
find . -type d -name 'node_modules' -prune -o -name '.eslintrc' -print | while read -r file; do |
|
||||||
# Extract the directory path of the file |
|
||||||
dir=$(dirname "$file") |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo $file |
|
||||||
|
|
||||||
git checkout master -- $file |
|
||||||
|
|
||||||
done |
|
Loading…
Reference in new issue