Skip to content

Commit 88b20a0

Browse files
authored
Merge pull request #11 from JonasPBovin/add-se-functions
fixed missing name
2 parents 301d904 + cc9cbe6 commit 88b20a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13646,7 +13646,7 @@ class se_Helper {
1364613646
.toString();
1364713647
for (const pomEntity of poms) {
1364813648
if (pomEntity['pom'].startsWith('/components') &&
13649-
pomEntity['pom'].indexOf(name + '-deployment/') > -1) {
13649+
pomEntity['pom'].indexOf(pomEntity['name'] + '-deployment/') > -1) {
1365013650
const owners = [];
1365113651
const reviewers = [];
1365213652
for (const ownerRaw of ownersFile.split('\n')) {

src/se.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class Helper {
5858
for (const pomEntity of poms) {
5959
if (
6060
pomEntity['pom'].startsWith('/components') &&
61-
pomEntity['pom'].indexOf(name + '-deployment/') > -1
61+
pomEntity['pom'].indexOf(pomEntity['name'] + '-deployment/') > -1
6262
) {
6363
const owners = []
6464
const reviewers = []

0 commit comments

Comments
 (0)