Merge pull request #1625 from alexonab/patch-4

Fix for 'requires string as left operand, not PosixPath'
pull/1656/head
Richard Beales 2023-04-15 18:40:13 +01:00 committed by GitHub
commit b171774051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ def execute_shell(command_line: str) -> str:
"""
current_dir = os.getcwd()
if WORKING_DIRECTORY not in current_dir: # Change dir into workspace if necessary
if str(WORKING_DIRECTORY) not in current_dir: # Change dir into workspace if necessary
work_dir = os.path.join(os.getcwd(), WORKING_DIRECTORY)
os.chdir(work_dir)