Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error when stopping watching a non watched file #455

Closed
wants to merge 1 commit into from

Commits on Jun 3, 2022

  1. No error when stopping watching a non watched file

    Currently, when a non-watched item is requested to be removed from a
    watch, an error is returned.
    However, the post-condition of removing it is: "This file/dir should not
    be watched anymore", which is the case also when the item wasn't being
    watched in the first place.
    Rather than returning an error. Return nil and skip a part of the work.
    Midas Lambrichts committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    78d7613 View commit details
    Browse the repository at this point in the history