testaro 2.2.5 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1131,8 +1131,6 @@ const doBatch = async (options, reportTemplate, hostIndex = 0) => {
|
|
|
1131
1131
|
act.what = host.what;
|
|
1132
1132
|
}
|
|
1133
1133
|
});
|
|
1134
|
-
// Perform the commands on the host.
|
|
1135
|
-
await doScript(options, hostReport);
|
|
1136
1134
|
// Add the host’s ID to the host report.
|
|
1137
1135
|
hostReport.hostName = host.id;
|
|
1138
1136
|
// Add data from the template to the host report.
|
|
@@ -1145,6 +1143,8 @@ const doBatch = async (options, reportTemplate, hostIndex = 0) => {
|
|
|
1145
1143
|
hostReport.scriptIsValid = reportTemplate.scriptIsValid;
|
|
1146
1144
|
hostReport.batchIsValid = reportTemplate.batchIsValid;
|
|
1147
1145
|
hostReport.host = host;
|
|
1146
|
+
// Perform the commands on the host and add a report to the options object.
|
|
1147
|
+
await doScript(options, hostReport);
|
|
1148
1148
|
// Process the remaining hosts.
|
|
1149
1149
|
await doBatch(options, reportTemplate, hostIndex + 1);
|
|
1150
1150
|
}
|