Parabeac / parabeac_core

Continuous Design / Continuous Integration for Figma to Flutter
BSD 3-Clause "New" or "Revised" License
579 stars 70 forks source link

Import paths are incorrect on when running Parabeac-core on Windows #714

Open SushiRoll53 opened 2 years ago

SushiRoll53 commented 2 years ago

Describe the bug

Trying to run Parabeac-core on Windows ends up on paths being outputted with \ instead of / as needed for Dart

To Reproduce

Steps to reproduce the behavior:

  1. Clone Parabeac-core on a computer with Windows OS
  2. Convert any Figma file, it could be the testing file Ysnjcij14HaE98ucq1iwW1
  3. See the converted output & check the import paths

Impact of the problem

It will cause that all imports generated are incorrect

Environment:

Screenshots

unknown

Additional comments

I think this could be caused by the package path since Windows' directories are written with \ instead of /