Skip to content

Possible regression at 2.2.0? #172

@jmealo

Description

@jmealo

Hello,

Thanks for the excellent library. I make use of it in background-action (a GitHub action designed to block a step until a condition is met, using the wait-on library). It buffers stdout and stderr to files so the output can be tailed in GitHub actions, and optionally, output during the post-run step.

To eliminate duplicate output, it supports outputting only lines that weren't tailed (the resume option).

The test for resuming output begins failing with tail@2.2.0:
https://github.com/JarvusInnovations/background-action/blob/9b4ab5bdc483d7f21f3d1c7da10144d5b327b264/test/success.test.js#L74

I've compared the versions and only see the addition of the nLines option. I haven't been able to track down the issue and will be locking in at 2.1.1 for now.

I'm posting this here in case anyone else encounters issues upgrading (or if you might have any ideas regarding the change in behavior?).

Thanks,
Jeff

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