testilo 21.5.1 → 21.5.2
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/merge.js +2 -2
- package/package.json +1 -1
package/merge.js
CHANGED
|
@@ -95,8 +95,8 @@ exports.merge = (script, batch, requester, isolate, standard, observe, timeStamp
|
|
|
95
95
|
const creationTime = (new Date()).toISOString().slice(0, 16);
|
|
96
96
|
// Initialize a target-independent job.
|
|
97
97
|
const protoJob = JSON.parse(JSON.stringify(script));
|
|
98
|
-
// Make the timestamp and a random string the
|
|
99
|
-
protoJob.id = `${timeStamp}-${getRandomID(Number.parseInt(randomIDLength, 10))}
|
|
98
|
+
// Make the timestamp and a random string the start of the job ID.
|
|
99
|
+
protoJob.id = `${timeStamp}-${getRandomID(Number.parseInt(randomIDLength, 10))}-`;
|
|
100
100
|
// Add a sources property to the job.
|
|
101
101
|
protoJob.sources = {
|
|
102
102
|
script: script.id,
|