File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
packages/nativescript-vue-template-compiler Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,18 @@ function runCommands(commands) {
69
69
. map ( ( command ) => {
70
70
return runCommand ( command . trim ( ) )
71
71
} )
72
- return Promise . all ( promises )
72
+
73
+ return new Promise ( async ( resolve , reject ) => {
74
+ try {
75
+ const res = [ ]
76
+ for ( let promise of promises ) {
77
+ res . push ( await promise )
78
+ }
79
+ resolve ( res )
80
+ } catch ( err ) {
81
+ reject ( err )
82
+ }
83
+ } )
73
84
}
74
85
75
86
function runCommand ( command ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-vue-template-compiler" ,
3
- "version" : " 0.4 .0" ,
3
+ "version" : " 0.5 .0" ,
4
4
"description" : " template compiler for nativescript-vue" ,
5
5
"main" : " index.js" ,
6
6
"repository" : {
21
21
"he" : " ^1.1.0" ,
22
22
"de-indent" : " ^1.0.2"
23
23
}
24
- }
24
+ }
You can’t perform that action at this time.
0 commit comments