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

The markDirectories option adds extra slashes #214

Closed
mrmlnc opened this issue Jun 25, 2019 · 0 comments
Closed

The markDirectories option adds extra slashes #214

mrmlnc opened this issue Jun 25, 2019 · 0 comments
Assignees
Milestone

Comments

@mrmlnc
Copy link
Owner

mrmlnc commented Jun 25, 2019

Environment

  • OS Version: Windows 10 (1903)
  • Node.js Version: 12.4.0

Actual behavior

       [
         "fixtures/file.md"
         "fixtures/first/"
      -  "fixtures/first//file.md"
      -  "fixtures/first//nested/"
      -  "fixtures/first//nested//directory/"
      -  "fixtures/first//nested//directory//file.md"
      -  "fixtures/first//nested//file.md"
      +  "fixtures/first/file.md"
      +  "fixtures/first/nested/"
      +  "fixtures/first/nested/directory/"
      +  "fixtures/first/nested/directory/file.md"
      +  "fixtures/first/nested/file.md"
         "fixtures/second/"
      -  "fixtures/second//file.md"
      -  "fixtures/second//nested/"
      -  "fixtures/second//nested//directory/"
      -  "fixtures/second//nested//directory//file.md"
      -  "fixtures/second//nested//file.md"
      +  "fixtures/second/file.md"
      +  "fixtures/second/nested/"
      +  "fixtures/second/nested/directory/"
      +  "fixtures/second/nested/directory/file.md"
      +  "fixtures/second/nested/file.md"
       ]

Expected behavior

Only one trailing slash per entry.

Steps to reproduce

See smoke tests: #215

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant