Closed christopher-dG closed 2 years ago
You're right. I remember adding that trailing space for a reason many months ago, but reviewing the code it's clear that it's not really necessary any longer. I won't waste time to investigate thou, as the fix is quite obvious :-)
Just removed it now: https://github.com/strautomator/core/commit/6f0bd42711d40d46f0c25641a5a072867b91ead2
Fix will be deployed this weekend.
My weather automation looks like this:
And I end up with descriptions like this:
Note the
Cool, clear ,
: the comma comes after a space which shouldn't be there.I think this comes from this line, not sure why there's a trailing space:
https://github.com/strautomator/core/blob/d93b3f3b4fe051d9b49b3ce0210caa6c35ec2498/src/weather/utils.ts#L220