@@ -1289,7 +1289,8 @@ PBXProject.prototype.addToOtherLinkerFlags = function (flag) {
12891289 const configurations = nonComments ( this . pbxXCBuildConfigurationSection ( ) ) ;
12901290 const INHERITED = '"$(inherited)"' ;
12911291 const OTHER_LDFLAGS = 'OTHER_LDFLAGS' ;
1292- let config ; let buildSettings ;
1292+ let config ;
1293+ let buildSettings ;
12931294
12941295 for ( config in configurations ) {
12951296 buildSettings = configurations [ config ] . buildSettings ;
@@ -1308,7 +1309,8 @@ PBXProject.prototype.addToOtherLinkerFlags = function (flag) {
13081309PBXProject . prototype . removeFromOtherLinkerFlags = function ( flag ) {
13091310 const configurations = nonComments ( this . pbxXCBuildConfigurationSection ( ) ) ;
13101311 const OTHER_LDFLAGS = 'OTHER_LDFLAGS' ;
1311- let config ; let buildSettings ;
1312+ let config ;
1313+ let buildSettings ;
13121314
13131315 for ( config in configurations ) {
13141316 buildSettings = configurations [ config ] . buildSettings ;
@@ -1331,7 +1333,8 @@ PBXProject.prototype.removeFromOtherLinkerFlags = function (flag) {
13311333
13321334PBXProject . prototype . addToBuildSettings = function ( buildSetting , value ) {
13331335 const configurations = nonComments ( this . pbxXCBuildConfigurationSection ( ) ) ;
1334- let config ; let buildSettings ;
1336+ let config ;
1337+ let buildSettings ;
13351338
13361339 for ( config in configurations ) {
13371340 buildSettings = configurations [ config ] . buildSettings ;
@@ -1342,7 +1345,8 @@ PBXProject.prototype.addToBuildSettings = function (buildSetting, value) {
13421345
13431346PBXProject . prototype . removeFromBuildSettings = function ( buildSetting ) {
13441347 const configurations = nonComments ( this . pbxXCBuildConfigurationSection ( ) ) ;
1345- let config ; let buildSettings ;
1348+ let config ;
1349+ let buildSettings ;
13461350
13471351 for ( config in configurations ) {
13481352 buildSettings = configurations [ config ] . buildSettings ;
@@ -1356,7 +1360,8 @@ PBXProject.prototype.removeFromBuildSettings = function (buildSetting) {
13561360// a JS getter. hmmm
13571361PBXProject . prototype . __defineGetter__ ( 'productName' , function ( ) {
13581362 const configurations = nonComments ( this . pbxXCBuildConfigurationSection ( ) ) ;
1359- let config ; let productName ;
1363+ let config ;
1364+ let productName ;
13601365
13611366 for ( config in configurations ) {
13621367 productName = configurations [ config ] . buildSettings . PRODUCT_NAME ;
@@ -1370,7 +1375,9 @@ PBXProject.prototype.__defineGetter__('productName', function () {
13701375// check if file is present
13711376PBXProject . prototype . hasFile = function ( filePath ) {
13721377 const files = nonComments ( this . pbxFileReferenceSection ( ) ) ;
1373- let file ; let id ;
1378+ let file ;
1379+ let id ;
1380+
13741381 for ( id in files ) {
13751382 file = files [ id ] ;
13761383 if ( file . path === filePath || file . path === ( '"' + filePath + '"' ) ) {
@@ -1666,7 +1673,8 @@ function searchPathForFile (file, proj) {
16661673
16671674function nonComments ( obj ) {
16681675 const keys = Object . keys ( obj ) ;
1669- const newObj = { } ; let i = 0 ;
1676+ const newObj = { } ;
1677+ let i = 0 ;
16701678
16711679 for ( i ; i < keys . length ; i ++ ) {
16721680 if ( ! COMMENT_KEY . test ( keys [ i ] ) ) {
0 commit comments