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 51
51
# Check if metadata fields need to be updated in package.json files of affected packages:
52
52
dirs=$( echo " ${files_to_process} " | tr ' ' ' \n' | \
53
53
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)(\/.*) ?$//' | \
55
55
sort -u)
56
56
57
57
echo " Checking package.json files in directories: ${dirs} "
@@ -62,7 +62,7 @@ for dir in ${dirs}; do
62
62
" ${update_package_json_directories} " " ${dir} "
63
63
" ${update_package_json_gypfile} " " ${dir} "
64
64
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"
66
66
git --no-pager diff " ${dir} /package.json"
67
67
needs_changes=1
68
68
fi
You can’t perform that action at this time.
0 commit comments