Skip to content

The function signatures and behavior of .walk & .walkSync are not the same #6

@arnorhs

Description

@arnorhs

The callback receives different arguments and in .walk the full file path is passed with each file, but in .walkSync the file is stand alone and you have to concatenate

I don't feel strongly about which approach is better or anything, just that they should be the same.. They should even have the same unit test with some tweaks

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