Add missing `.decode`
asyncio.subprocess doesn't support `text=True` or
`universal_newlines=True`. stdout needs to be manually
decoded before it can be interpolated in a string - otherwise
a repr is printed.
```
>>> some_byte = b'lala'
>>> f'what does it look like? -> {some_byte}'
"what does it look like? -> b'lala'"
```
@@ -520,7 +520,7 @@ class GitRepoProvider(RepoProvider):
stdout, stderr = await proc.communicate()
retcode = await proc.wait()
if retcode:
- raise RuntimeError("Unable to run git ls-remote to get the `resolved_ref`: {}".format(stderr))
+ raise RuntimeError("Unable to run git ls-remote to get the `resolved_ref`: {}".format(stderr.decode()))
if not stdout:
return None
resolved_ref = stdout.decode().split(None, 1)[0]
