File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -157,15 +157,16 @@ export class PlatformService implements IPlatformService {
157
157
}
158
158
159
159
// Process platform specific files
160
- var contents = this . $fs . readDirectory ( platformData . appDestinationDirectoryPath ) . wait ( ) ;
160
+ var contents = this . $fs . readDirectory ( path . join ( platformData . appDestinationDirectoryPath , constants . APP_FOLDER_NAME ) ) . wait ( ) ;
161
161
var files : string [ ] = [ ] ;
162
162
163
163
_ . each ( contents , d => {
164
- var fsStat = this . $fs . getFsStats ( path . join ( platformData . appDestinationDirectoryPath , d ) ) . wait ( ) ;
164
+ let filePath = path . join ( platformData . appDestinationDirectoryPath , constants . APP_FOLDER_NAME , d ) ;
165
+ let fsStat = this . $fs . getFsStats ( filePath ) . wait ( ) ;
165
166
if ( fsStat . isDirectory ( ) && d !== constants . APP_RESOURCES_FOLDER_NAME ) {
166
- this . processPlatformSpecificFiles ( platform , this . $fs . enumerateFilesInDirectorySync ( path . join ( platformData . appDestinationDirectoryPath , d ) ) ) . wait ( ) ;
167
+ this . processPlatformSpecificFiles ( platform , this . $fs . enumerateFilesInDirectorySync ( filePath ) ) . wait ( ) ;
167
168
} else if ( fsStat . isFile ( ) ) {
168
- files . push ( path . join ( platformData . appDestinationDirectoryPath , d ) ) ;
169
+ files . push ( filePath ) ;
169
170
}
170
171
} ) ;
171
172
You can’t perform that action at this time.
0 commit comments