Skip to content

Commit eb1d87d

Browse files
author
Emmanuel Garcia
authored
Fix git revision encoding (flutter#27853)
1 parent 9741683 commit eb1d87d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/git_revision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def GetRepositoryVersion(repository):
2727
'HEAD',
2828
])
2929

30-
return version.strip()
30+
return str(version.strip(), 'utf-8')
3131

3232
def main():
3333
parser = argparse.ArgumentParser()

0 commit comments

Comments
 (0)