pancake icon indicating copy to clipboard operation
pancake copied to clipboard

Windows - Improperly escaped '\' characters

Open azerella opened this issue 7 years ago • 1 comments

It seems that the auto generated file paths when run under Windows are generated with only a single \. This needs to be generated as \\ to escape the first backslash.

The auto generated comments also fail with the backslashes:

/**
 * 
 */

e.g C:\Users\Adam needs to be generated as C:\\Users\\Adam and the comments need to be escaped as well.

A good place to start would be here: https://github.com/govau/pancake/blob/master/packages/pancake-sass/src/sass.js#L142

azerella avatar Jan 22 '19 01:01 azerella

There is also an issue where @gov.au/@gov.au is appearing twice on windows. This might be related to the multiple organisation changes I did before :(

alex-page avatar Jan 30 '19 22:01 alex-page