Skip to content

Commit 44a34a9

Browse files
committed
sync
1 parent 2f84f3f commit 44a34a9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docbuilder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Docbuilder NodeJS Script
22

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!
44

55
__Performs command injection, use at your own risk! Please read documentation before use!__
66

docbuilder/src/docbuilder.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ interface cmdRes {
110110
} else {
111111
cmdRes = { name: job['name'], command: run_command,
112112
code: 0, stdout: stdout, stderr: stderr }
113-
runningJobs[jobIDX].resolve(cmdRes)
114113

115114
// Copy over the data to the OUTPUT_FOLDER
116115
fs.cpSync(
@@ -127,6 +126,8 @@ interface cmdRes {
127126
} catch (error:any) {}
128127
}
129128
}
129+
130+
runningJobs[jobIDX].resolve(cmdRes)
130131
}
131132
callback(error, cmdRes)
132133
})

0 commit comments

Comments
 (0)