Skip to content

consistent use of the path module #80

@eliasmalik

Description

@eliasmalik

Here: https://github.com/fac-u/autocompleter/blob/master/src/autocomplete.js#L7

The point of the path module is to avoid explicit use of path separators and string concatenation.

path.join(__dirname, '..', 'src', 'orderedDict.json');

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