File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ jobs:
117117 files=$(echo "${{ steps.changed-files.outputs.all_changed_files }}" | tr ' ' '\n' | grep 'package\.json$' | grep -v 'datapackage\.json$' | tr '\n' ' ' | sed 's/ $//')
118118 if [ -n "${files}" ]; then
119119 echo "Linting package.json files that have changed..."
120- echo "${files}" | "${lint_package_json}" --split=" "
120+ printf "${files}" | "${lint_package_json}" --split=" "
121121 else
122122 echo "No package.json files to lint."
123123 fi
@@ -134,7 +134,7 @@ jobs:
134134
135135 files=$(echo ${{ steps.changed-files.outputs.all_changed_files }} | tr ' ' '\n' | grep 'repl\.txt$' | tr '\n' ' ' | sed 's/ $//')
136136 if [ -n "${files}" ]; then
137- echo "${files}" | "${lint_repl_help}"
137+ printf "${files}" | "${lint_repl_help}" --split=" "
138138 fi
139139
140140 # Lint JavaScript files:
You can’t perform that action at this time.
0 commit comments