We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a87d3d commit 1b14738Copy full SHA for 1b14738
codeowners-validator/src/main/java/nl/basjes/codeowners/validator/CodeOwnersValidator.java
@@ -291,7 +291,7 @@ public DirectoryOwners analyzeDirectory(
291
292
Path newFile = Path.of( path.toString(), UNLIKELY_FILENAME);
293
if (gitIgnores.keepFile(newFile.toString())) {
294
- Path newFileIndex = Path.of( path.toString(), "*");
+ Path newFileIndex = Path.of( path.toString(), "x");
295
FileOwners newFileOwners = new FileOwners(newFileIndex, FileType.NEWLY_CREATED_FILE);
296
newFileOwners.addApprovers(codeOwners.getAllApprovers(newFile.toString()));
297
newFileOwners.addMandatoryApprovers(codeOwners.getMandatoryApprovers(newFile.toString()));
0 commit comments