Skip to content

Extra blank lines when using --silent #363

Open
@isuvorov

Description

Extra blank lines appear when using the --silent option.

I propose add a check if (isSilentMode) in the appropriate parts of the code to fix this issue.

function createHumanReporter(process, isSilentMode = false) {
  function print(...lines) {
    if (!isSilentMode) {
      process.stdout.write('  ' + lines.join('\n  ') + '\n')
    }
  }

process.stdout.write(' ' + lines.join('\n ') + '\n')

Need advice on the correctness of this approach.

I could make PR by myself.

This gap is too БЕСИТ 😬

image image image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions