Skip to content

Files skipped intermittently #5860

@ajs139

Description

@ajs139

Sometimes the files are being checked and have their errors reported, other times they are ignored by Flow (even though the file is still present in the list from flow ls). If a file that is prone to not being reported ever stops being ignored (which seems to happen if a file it depends on generates an error), any change to the file (such as adding an empty line) will causes it to disappear from the the output.

This behavior is seen even for isolated errors:

18: const foo:number = '';
                        ^^ string. This type is incompatible with
 18: const foo:number = '';
               ^^^^^^ number

This was introduced in v0.57.x, and was not a problem in v0.56.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions