File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.github/workflows/scripts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5151# Check if metadata fields need to be updated in package.json files of affected packages:
5252dirs=$( echo " ${files_to_process} " | tr ' ' ' \n' | \
5353 xargs dirname | \
54- sed -E ' s/\/(benchmark|bin|data|docs|etc|examples|include|lib|scripts|src|test)\/ ?$//' | \
54+ sed -E ' s/\/(benchmark|bin|data|docs|etc|examples|include|lib|scripts|src|test)(\/.*) ?$//' | \
5555 sort -u)
5656
5757echo " Checking package.json files in directories: ${dirs} "
@@ -62,7 +62,7 @@ for dir in ${dirs}; do
6262 " ${update_package_json_directories} " " ${dir} "
6363 " ${update_package_json_gypfile} " " ${dir} "
6464 if ! git diff-index --quiet HEAD -- " ${dir} /package.json" ; then
65- echo " ERROR: Package .json in ${dir} needs updates to directories and/or gypfile fields"
65+ echo " ERROR: package .json in ${dir} needs updates to directories and/or gypfile fields"
6666 git --no-pager diff " ${dir} /package.json"
6767 needs_changes=1
6868 fi
You can’t perform that action at this time.
0 commit comments