Skip to content

Carriage Return and Path References mismatch between rulesync generate on windows vs. Linux #1239

@AbrahamLinksys

Description

@AbrahamLinksys

When running rulesync generate between a Windows OS and a Linux based OS,

  1. I see path differences in the reference files.
    How to recreate:
    Add a specified glob in the rules file. Run rulesync generate on a linux OS, commit, pull the repo, run rulesync generate on windows, you'll see the differences. I've attached an image as well.
Image
  1. I am still identifying exactly where it occurs but the /n vs. /r/n also shows up in history following the same reproduce steps above (generate on linux, commit, clone on windows, generate):
Image

I think a best proposed solution would be to go to "/" paths no matter the OS since Windows can understand those but Linux cannot understand "\".
Unclear yet on the carriage return proposed fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions