fixed issue with projects showing up multiple times in rnt usage script

This commit is contained in:
Wryn Wagner 2021-02-05 15:50:48 -07:00
parent a1d79bfdef
commit 2cc3bd19f1

View File

@ -317,6 +317,6 @@ RENT_DYNAMICS_MANAGE_PY_SHELL() {
RENT_DYNAMICS_CHECK_PROJECT_USAGE() {
echo "The regex $1 is found in the following projects/repositories:\n"
rg $1 $RD_PATH -l | sed 's/^.*w0ryn\/RentDynamics\///' | sed 's/\/.*$//' | uniq;
rg $1 $RD_PATH -l | sed 's/^.*w0ryn\/RentDynamics\///' | sed 's/\/.*$//' | sort | uniq;
echo;
}