#!/bin/bash

if [ $(git diff --name-only --cached | grep -c '.tsx') != 0 ]; then
  lerna run lint-staged-tsx-files --parallel --stream
else
  echo 'No .tsx files to lint. Continuing with commit.'
fi
#!/bin/bash

if [ $(git diff --name-only --cached | grep -c '.tsx') != 0 ]; then
  lerna run lint-staged-tsx-files --parallel --stream
else
  echo 'No .tsx files to lint. Continuing with commit.'
fi

Add missing EOF newline for Web UI script
[SMALLFIX] Add missing EOF newline for Web UI script



pr-link: Alluxio/alluxio#10591
change-id: cid-a2f3911ca2144036430be8dc1fbc3821dcd26be0