fixed missing name

This commit is contained in:
Jonas Bovin 2022-11-23 12:49:08 +01:00
parent b17e8805d3
commit cc9cbe651c
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View file

@ -13646,7 +13646,7 @@ class se_Helper {
.toString();
for (const pomEntity of poms) {
if (pomEntity['pom'].startsWith('/components') &&
pomEntity['pom'].indexOf(name + '-deployment/') > -1) {
pomEntity['pom'].indexOf(pomEntity['name'] + '-deployment/') > -1) {
const owners = [];
const reviewers = [];
for (const ownerRaw of ownersFile.split('\n')) {

View file

@ -58,7 +58,7 @@ export class Helper {
for (const pomEntity of poms) {
if (
pomEntity['pom'].startsWith('/components') &&
pomEntity['pom'].indexOf(name + '-deployment/') > -1
pomEntity['pom'].indexOf(pomEntity['name'] + '-deployment/') > -1
) {
const owners = []
const reviewers = []