Skip to content

Commit

Permalink
remove link cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekcrm committed May 30, 2023
1 parent d4bd78b commit aab3771
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions checksyntax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ check_json_file_syntax() {
done

if [ ${#missing_fields[@]} -gt 0 ]; then
file=$(echo "$file" | sed 's/\/home\/runner\/work\/platform-samples\/platform-samples//')
echo "Warning: File $file does not contain the required fields:"
((ERROR_COUNT_PACKAGE++))

Expand Down Expand Up @@ -64,7 +63,6 @@ check_package_files_in_folders() {
check_readme_syntax() {
content=$(cat "$file")
if [[ $content == *"#"* && $content != *"___"* ]]; then
file=$(echo "$file" | sed 's/\/home\/runner\/work\/platform-samples\/platform-samples//')
echo "Warning: syntax errorn in $file"
((ERROR_COUNT_README++))
fi
Expand Down

0 comments on commit aab3771

Please sign in to comment.