[Fix] no-restricted-paths
: enhance performance for exceptions
#2022
+17
−7
no-restricted-paths
: enhance performance for exceptions
#2022