Skip to content
Commit 428f4a64 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis Committed by Stephanos Ioannidis
Browse files

scripts: get_maintainer: Fix glob pattern directory match error logic



The `get_maintainer` script currently generates an error when a non-
slash-suffixed glob pattern matches any directories -- this is
incorrect because the glob pattern may be used to match files.

This commit updates the script to only generate an error when a
non-slash suffixed _only_ matches directories.

Signed-off-by: default avatarStephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
parent 9028ad5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment