code_format: fix path matching (#20108)
code_format: fix path matching (#20108)

* code_format: fix path matching

This change fixes an issue in the code formatter where explicitly
excluded paths are incorrectly matched when the script is provided
arguments that do not start with './' or that end with a trailing
slash.

To address this issue this change normalizes paths before checking
if the path is excluded.

* Check directory after prepending ./

Signed-off-by: David Peet <6199cd1facf79b0ead367b2e4770ec71ee37b55e@tutanota.com>
envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy