testaro 2.2.6 → 2.2.7
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 +7 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1134,14 +1134,14 @@ const doBatch = async (options, reportTemplate, hostIndex = 0) => {
|
|
|
1134
1134
|
// Add the host’s ID to the host report.
|
|
1135
1135
|
hostReport.hostName = host.id;
|
|
1136
1136
|
// Add data from the template to the host report.
|
|
1137
|
-
hostReport.orderName =
|
|
1137
|
+
hostReport.orderName = options.id;
|
|
1138
1138
|
hostReport.id = `${options.id}-${host.id}`;
|
|
1139
|
-
hostReport.orderUserName =
|
|
1140
|
-
hostReport.orderTime =
|
|
1141
|
-
hostReport.scriptName =
|
|
1142
|
-
hostReport.batchName =
|
|
1143
|
-
hostReport.scriptIsValid =
|
|
1144
|
-
hostReport.batchIsValid =
|
|
1139
|
+
hostReport.orderUserName = options.userName;
|
|
1140
|
+
hostReport.orderTime = options.orderTime;
|
|
1141
|
+
hostReport.scriptName = options.scriptName;
|
|
1142
|
+
hostReport.batchName = options.batchName;
|
|
1143
|
+
hostReport.scriptIsValid = options.scriptIsValid;
|
|
1144
|
+
hostReport.batchIsValid = options.batchIsValid;
|
|
1145
1145
|
hostReport.host = host;
|
|
1146
1146
|
// Perform the commands on the host and add a report to the options object.
|
|
1147
1147
|
await doScript(options, hostReport);
|