@fre4x/benchmark 1.1.0 → 1.1.1
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/dist/index.js +11 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31323,12 +31323,17 @@ async function executeTaskRunner(attempt, task, solution) {
|
|
|
31323
31323
|
const logs = [
|
|
31324
31324
|
`runner ${attempt.runner_kind} started for task ${task.task_id}`
|
|
31325
31325
|
];
|
|
31326
|
-
|
|
31327
|
-
|
|
31328
|
-
|
|
31329
|
-
|
|
31330
|
-
|
|
31331
|
-
|
|
31326
|
+
const materializedAssets = await Promise.all(
|
|
31327
|
+
task.assets.map(async (asset) => {
|
|
31328
|
+
const artifact = await materializeAsset(
|
|
31329
|
+
workspaceDir,
|
|
31330
|
+
task.task_id,
|
|
31331
|
+
asset
|
|
31332
|
+
);
|
|
31333
|
+
return { artifact, asset };
|
|
31334
|
+
})
|
|
31335
|
+
);
|
|
31336
|
+
for (const { artifact, asset } of materializedAssets) {
|
|
31332
31337
|
if (artifact) {
|
|
31333
31338
|
artifacts.push(artifact);
|
|
31334
31339
|
logs.push(
|