File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 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 {
157157 }
158158
159159 // 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 ( ) ;
161161 var files : string [ ] = [ ] ;
162162
163163 _ . 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 ( ) ;
165166 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 ( ) ;
167168 } else if ( fsStat . isFile ( ) ) {
168- files . push ( path . join ( platformData . appDestinationDirectoryPath , d ) ) ;
169+ files . push ( filePath ) ;
169170 }
170171 } ) ;
171172
You can’t perform that action at this time.
0 commit comments