Skip to content

Commit 32003f1

Browse files
committed
fix: #15 Fixed issue when suite name with uppercase or special characters could lead to issues on certain systems.
1 parent 6f34926 commit 32003f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DockerComposeLibrary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self,
5656
if project_name is not None:
5757
self._project_name = project_name
5858
else:
59-
self._project_name = BuiltIn().get_variable_value('${SUITE NAME}')
59+
self._project_name = re.sub(r'\W', '_', BuiltIn().get_variable_value('${SUITE NAME}'), re.ASCII).lower()
6060

6161
if project_directory is not None:
6262
self._project_directory = project_directory

0 commit comments

Comments
 (0)