Merge pull request #1446 from Luis-Fernando-Molina/develop

Contribution: Goverance Github Server Validation 6 Test
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-08-09 12:50:40 -04:00
commit aa6c162200
1 file changed
+3
+3
View File
@@ -476,6 +476,7 @@ exports.newGithubServer = function newGithubServer() {
'Governance',
'User-Profiles'
)
console.log('pluginFileNames', JSON.stringify(pluginFileNames))
for (let i = 0; i < pluginFileNames.length; i++) {
let pluginFileName = pluginFileNames[i]
@@ -487,9 +488,11 @@ exports.newGithubServer = function newGithubServer() {
let otherUserProfile = JSON.parse(pluginFileContent)
userProfileIdMap.set(otherUserProfile.id, otherUserProfile.name)
console.log('Record of Map', otherUserProfile.id, otherUserProfile.name)
}
let testUserProfile = userProfileIdMap.get(userProfile.id)
console.log('testUserProfile', testUserProfile, 'userProfile.id', userProfile.id)
if (testUserProfile === undefined) { return true }
if (testUserProfile !== userProfile.name) {