json-to-scss
json-to-scss copied to clipboard
Fix paths problem in linux
linux command automatically expand (*) pattern, hence we need to check whether args._.[0] is already expanded or not.
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.