Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit abdbf3c

Browse files
authored
fix: add missing parameter (#1308)
1 parent 6a4cdab commit abdbf3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/agent/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ var init_manager = () => {
134134
spawnOptions,
135135
(nodeId, tasks) => {
136136
monitoringTarget && monitoringTarget.notify('abnormal', {purpose: myPurpose, id: nodeId, type: 'node'});
137-
tasks.forEach(() => {
137+
tasks.forEach(task => {
138138
worker && worker.removeTask(task);
139139
});
140140
},

0 commit comments

Comments
 (0)