Skip to content

Pattern subdir property contains incorrect directory separator on windows #559

Closed
@sandrojohanides

Description

@sandrojohanides

I am using Pattern Lab Node v1.3.4 on Windows, with Node v6.9.1, using the Gulp Edition.

Expected Behavior

Pattern object subdir property should contain forward slash /

Actual Behavior

Pattern object subdir property contains backslash \\ showing an error Could not find pattern referenced with partial syntax ' + partialName + '. This can occur when a pattern was renamed, moved, or no longer exists but it still called within a different template somewhere.

Steps to Reproduce

Try to include partial in mustache template using Default Include Syntax {{> dir/subdir/partial }} on windows

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