Governance: Automatic Merging of PRs for User Profiles changes. Bug Fixed.4

This commit is contained in:
Luis Fernando Molina committed 2021-08-07 18:33:25 +02:00
1 parent 1ce7a69bbc
commit ef859348fb
1 file changed
+1 -1
+1 -1
View File
@@ -1365,7 +1365,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
if (fileContentUrl.indexOf('Governance/Plugins/User-Profiles') < 0) {
console.log('[INFO] httpInterface -> Gov -> mergeGithubPullRequests -> Validation #2 Failed -> Pull Request "' + pullRequest.title + '" not merged because the file modified at the Pull Request it not a User Profile file. -> fileContentUrl = ' + fileContentUrl)
continue
}
}
let splittedURL = fileContentUrl.split('/')
let fileName = splittedURL[splittedURL.length - 1]