Skip to content

Break line present at the end #22

@Kikobeats

Description

@Kikobeats

I'm using get-sdtdin at regexgen-cli and I noticed that an \n is always present at the final of the input:

getStdin().then(stdin => {
  console.log(stdin)
  console.log([].concat(stdin))
})
echo hola | regexgen
hola

[ 'hola\n' ]

Metadata

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