testilo 9.0.1 → 9.0.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/README.md +1 -1
- package/call.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -343,7 +343,7 @@ node call score sp25a 75
|
|
|
343
343
|
```
|
|
344
344
|
|
|
345
345
|
When a user invokes `score` in this example, the `call` module:
|
|
346
|
-
- gets the scoring module `sp25a` from its JSON file `sp25a.json` in the `process.env.
|
|
346
|
+
- gets the scoring module `sp25a` from its JSON file `sp25a.json` in the `score` subdirectory of the `process.env.FUNCTIONDIR` directory
|
|
347
347
|
- gets the reports from the r`raw` subdirectory of the `process.env.REPORTDIR` directory
|
|
348
348
|
- writes the scored reports to the `scored` subdirectory of the `process.env.REPORTDIR` directory
|
|
349
349
|
|
package/call.js
CHANGED
|
@@ -75,7 +75,7 @@ const getReports = async (type, selector = '') => {
|
|
|
75
75
|
// Fulfills a scoring request.
|
|
76
76
|
const callScore = async (scorerID, selector = '') => {
|
|
77
77
|
// Get the raw reports to be scored.
|
|
78
|
-
const reports = getReports('raw', selector);
|
|
78
|
+
const reports = await getReports('raw', selector);
|
|
79
79
|
// If any exist:
|
|
80
80
|
if (reports.length) {
|
|
81
81
|
// Get the scorer.
|