Goverance Github Server Validation 6 Fully Tested

This commit is contained in:
Luis Fernando Molina committed 2021-08-09 19:01:50 +02:00
1 parent 48edcef0a9
commit d3144edf04
2 files changed
+1 -4

No files matched your search

-3
View File
@@ -476,7 +476,6 @@ 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]
@@ -488,11 +487,9 @@ 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) {