File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -946,16 +946,18 @@ function createPythonFiles() {
946
946
}
947
947
948
948
return mapPromiseFnOverThreeModules ( function ( relativePath ) {
949
- createPythonWrapper ( relativePath ) ;
950
- // ensures each dir has empty __init__.py file for proper importing of sub dirs
951
- createPythonModuleInitFile ( relativePath ) ;
949
+ return createPythonWrapper ( relativePath ) . then ( function ( ) {
950
+ // ensures each dir has empty __init__.py file for proper importing of sub dirs
951
+ createPythonModuleInitFile ( relativePath ) ;
952
+ } ) ;
952
953
} )
953
954
. then ( function ( ) {
954
955
return mapPromiseFnOverFileList ( CUSTOM_CLASSES , function ( relativePath ) {
955
- createPythonWrapper ( relativePath ) ;
956
- // ensures each dir has empty __init__.py file for proper importing of sub dirs
957
- createPythonModuleInitFile ( relativePath ) ;
958
- } )
956
+ return createPythonWrapper ( relativePath ) . then ( function ( ) {
957
+ // ensures each dir has empty __init__.py file for proper importing of sub dirs
958
+ createPythonModuleInitFile ( relativePath ) ;
959
+ } ) ;
960
+ } ) ;
959
961
} )
960
962
. then ( function ( ) {
961
963
// top level __init__.py file imports *all* pythreejs modules into namespace
You can’t perform that action at this time.
0 commit comments