Skip to content

Commit e12fe8c

Browse files
authored
Merge pull request #2074 from NativeScript/raikov/fix-trailing-coma-teamid
Fixed trailing comma issue when setting DEVELOPMENT_TEAM
2 parents 998c811 + 7819814 commit e12fe8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/services/ios-project-service.ts

+3
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,9 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f
11311131
line = line.replace(/\/(\/)[^\n]*$/, "");
11321132
if (line.indexOf("DEVELOPMENT_TEAM") >= 0) {
11331133
teamId = line.split("=")[1].trim();
1134+
if (teamId[teamId.length-1] === ';') {
1135+
teamId = teamId.slice(0, -1);
1136+
}
11341137
}
11351138
});
11361139
if (teamId) {

0 commit comments

Comments
 (0)