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 091e7b4 commit c4d9be2Copy full SHA for c4d9be2
compiled/helpers.js
@@ -58,7 +58,8 @@ function getAllCodeowners(fileContents) {
58
return !line.startsWith("#") && line.length > 0;
59
})
60
.map((line) => {
61
- const [_path, ...owners] = line.split(" ");
+ const [_path, ...owners] = line.trim().split(/\s+/);
62
+ console.log(_path, owners);
63
return owners;
64
65
.flat();
src/helpers.ts
@@ -38,7 +38,7 @@ export function getAllCodeowners(fileContents: FileContentMapping[]): string[] {
38
39
40
41
42
43
44
0 commit comments