We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 684474e commit 2542fbfCopy full SHA for 2542fbf
mesonbuild/scripts/vcstagger.py
@@ -9,7 +9,7 @@
9
def config_vcs_tag(infile: str, outfile: str, fallback: str, source_dir: str, replace_string: str, regex_selector: str, cmd: T.List[str]) -> None:
10
try:
11
output = subprocess.check_output(cmd, cwd=source_dir)
12
- new_string = re.search(regex_selector, output.decode()).group(1).strip()
+ new_string = re.search(regex_selector, output.decode()).group(1).rstrip('\r\n')
13
except Exception:
14
new_string = fallback
15
0 commit comments