Skip to content

Commit 79d46a2

Browse files
committed
Strip the newline in build dir path from git
1 parent 2b4927b commit 79d46a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_future.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_build_command(self, incremental=False):
102102
try:
103103
build_parent_dir = common.check_execute_output([
104104
'git', '-C', os.path.dirname(self._project),
105-
'rev-parse', '--show-toplevel'])
105+
'rev-parse', '--show-toplevel']).rstrip()
106106
except common.ExecuteCommandFailure as error:
107107
build_parent_dir = os.path.dirname(self._project)
108108

0 commit comments

Comments
 (0)