Skip to content

Commit b50dfe7

Browse files
committed
Keep newline-separated for package.json linter
1 parent fd62ae8 commit b50dfe7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/lint_changed_files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
# Define the path to a utility for linting package.json files:
115115
lint_package_json="${root}/lib/node_modules/@stdlib/_tools/lint/pkg-json/bin/cli"
116116
117-
files=$(echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep 'package\.json$' | grep -v 'datapackage\.json$' | tr '\n' ' ' | sed 's/ $//')
117+
files=$(echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep 'package\.json$' | grep -v 'datapackage\.json$')
118118
if [ -n "${files}" ]; then
119119
echo "${files}" | "${lint_package_json}"
120120
fi

0 commit comments

Comments
 (0)