mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Fork no longer appends its merge delimiter to the end of the output. Closes #692
This commit is contained in:
parent
61d40b5a0b
commit
3e3322e1f0
3 changed files with 6 additions and 6 deletions
|
@ -76,8 +76,8 @@ class Fork extends Operation {
|
|||
}
|
||||
|
||||
const recipe = new Recipe();
|
||||
let output = "",
|
||||
progress = 0;
|
||||
const outputs = [];
|
||||
let progress = 0;
|
||||
|
||||
state.forkOffset += state.progress + 1;
|
||||
|
||||
|
@ -104,10 +104,10 @@ class Fork extends Operation {
|
|||
}
|
||||
progress = err.progress + 1;
|
||||
}
|
||||
output += await dish.get(outputType) + mergeDelim;
|
||||
outputs.push(await dish.get(outputType));
|
||||
}
|
||||
|
||||
state.dish.set(output, outputType);
|
||||
state.dish.set(outputs.join(mergeDelim), outputType);
|
||||
state.progress += progress;
|
||||
return state;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue