Skip to content

Commit

Permalink
Update src/lib/lightnet.js
Browse files Browse the repository at this point in the history
Co-authored-by: Yoni Mekuria <[email protected]>
  • Loading branch information
shimkiv and ymekuria authored Nov 29, 2023
1 parent cca46a7 commit fb9aaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/lightnet.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export async function lightnetFollowLogs({ process, debug }) {
function getProcessToLogFileMapping({ mode, archive }) {
let mapping = new Map(lightnetDockerProcessToLogFileMapping);
if (mode === 'single-node') {
mapping = new Map(Array.from(mapping).slice(0, 3));
mapping = new Map([...mapping].slice(0, 3));
mapping.forEach((value, key) => {
mapping.set(
key,
Expand Down

0 comments on commit fb9aaa3

Please sign in to comment.