We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0562a32 commit 65cceecCopy full SHA for 65cceec
.github/workflows/scripts/lint_package_json_files
@@ -46,7 +46,7 @@ files_to_process="$*"
46
needs_changes=0
47
48
# Lint package.json files:
49
-files=$(echo "${files_to_process}" | tr ' ' '\n' | grep 'package\.json$' | grep -v 'datapackage\.json$' | tr '\n' ' ' | sed 's/ $//')
+files=$(echo "${files_to_process}" | tr ' ' '\n' | awk -F/ '$NF=="package.json"' | tr '\n' ' ' | sed 's/ $//')
50
if [ -n "${files}" ]; then
51
echo "Linting package.json files..."
52
printf '%s' "${files}" | "${lint_package_json}" --split=" "
0 commit comments