File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -164,12 +164,11 @@ function defaultGroup(fileRef) {
164164}
165165
166166function pbxFile ( filepath , opt ) {
167- var opt = opt || { } ,
168- self = this ;
167+ var opt = opt || { } ;
169168
170169 this . basename = path . basename ( filepath ) ;
171170 this . lastKnownFileType = opt . lastKnownFileType || detectType ( filepath ) ;
172- this . group = detectGroup ( self , opt ) ;
171+ this . group = detectGroup ( this , opt ) ;
173172
174173 // for custom frameworks
175174 if ( opt . customFramework == true ) {
@@ -178,7 +177,7 @@ function pbxFile(filepath, opt) {
178177 }
179178
180179 this . path = defaultPath ( this , filepath ) . replace ( / \\ / g, '/' ) ;
181- this . fileEncoding = this . defaultEncoding = opt . defaultEncoding || defaultEncoding ( self ) ;
180+ this . fileEncoding = this . defaultEncoding = opt . defaultEncoding || defaultEncoding ( this ) ;
182181
183182 // When referencing products / build output files
184183 if ( opt . explicitFileType ) {
@@ -190,7 +189,7 @@ function pbxFile(filepath, opt) {
190189 delete this . defaultEncoding ;
191190 }
192191
193- this . sourceTree = opt . sourceTree || detectSourcetree ( self ) ;
192+ this . sourceTree = opt . sourceTree || detectSourcetree ( this ) ;
194193 this . includeInIndex = 0 ;
195194
196195 if ( opt . weak && opt . weak === true )
You can’t perform that action at this time.
0 commit comments