json-to-scss icon indicating copy to clipboard operation
json-to-scss copied to clipboard

Fix paths problem in linux

Open gaofei88 opened this issue 2 years ago • 1 comments

linux command automatically expand (*) pattern, hence we need to check whether args._.[0] is already expanded or not.

gaofei88 avatar Feb 21 '23 01:02 gaofei88

Hi,

Thanks for your explanation & proposed code fix regarding this glob path thing. I didn't know regarding linux. I haven't touch the code of this for a long time now. I'll have a look and see when I can incorporate your solution. I believe the problem can also be avoided (perhaps) by wrapping the source file path / pattern in single quote like: json-to-scss './*.json' .... Anyhow, I will check.

Thank you. Best, R.

rlapoele avatar Feb 21 '23 21:02 rlapoele