testilo 13.10.1 → 13.10.3
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/call.js +3 -3
- package/package.json +1 -1
- package/procs/score/tic30.js +7427 -0
- package/script.js +4 -4
package/call.js
CHANGED
|
@@ -57,11 +57,11 @@ const callBatch = async (listID, what) => {
|
|
|
57
57
|
// Fulfills a script-creation request.
|
|
58
58
|
const callScript = async (scriptID, classificationID = null, ... issueIDs) => {
|
|
59
59
|
// Get any issue classification.
|
|
60
|
-
const
|
|
61
|
-
? require(`${functionDir}/score/${classificationID}`).
|
|
60
|
+
const issues = classificationID
|
|
61
|
+
? require(`${functionDir}/score/${classificationID}`).issues
|
|
62
62
|
: null;
|
|
63
63
|
// Create a script.
|
|
64
|
-
const scriptObj = script(scriptID,
|
|
64
|
+
const scriptObj = script(scriptID, issues, ... issueIDs);
|
|
65
65
|
// Save the script.
|
|
66
66
|
const scriptJSON = JSON.stringify(scriptObj, null, 2);
|
|
67
67
|
await fs.writeFile(`${specDir}/scripts/${scriptID}.json`, scriptJSON);
|