File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Docbuilder NodeJS Script
2
2
3
- Run multiple document generators for multiple projects with one command. Then merge them all into a single directory!
3
+ Run multiple document generators for multiple projects with one command simultaneously . Then merge them all into a single directory!
4
4
5
5
__ Performs command injection, use at your own risk! Please read documentation before use!__
6
6
Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ interface cmdRes {
110
110
} else {
111
111
cmdRes = { name : job [ 'name' ] , command : run_command ,
112
112
code : 0 , stdout : stdout , stderr : stderr }
113
- runningJobs [ jobIDX ] . resolve ( cmdRes )
114
113
115
114
// Copy over the data to the OUTPUT_FOLDER
116
115
fs . cpSync (
@@ -127,6 +126,8 @@ interface cmdRes {
127
126
} catch ( error :any ) { }
128
127
}
129
128
}
129
+
130
+ runningJobs [ jobIDX ] . resolve ( cmdRes )
130
131
}
131
132
callback ( error , cmdRes )
132
133
} )
You can’t perform that action at this time.
0 commit comments