chore: update client.py (#3542)

occurence -> occurrence
This commit is contained in:
Ikko Eltociear Ashimine
2024-08-23 02:18:16 +09:00
committed by GitHub
parent e523e25e38
commit 87cc28beca

View File

@@ -210,7 +210,7 @@ class RuntimeClient:
def _get_bash_prompt_and_update_pwd(self):
ps1 = self.shell.after
# begin at the last occurence of '[PEXPECT_BEGIN]'.
# begin at the last occurrence of '[PEXPECT_BEGIN]'.
# In multi-line bash commands, the prompt will be repeated
# and the matched regex captures all of them
# - we only want the last one (newest prompt)