question_cmd: fixed source code extraction and added a testcase
This commit is contained in:
@@ -414,7 +414,7 @@ class Message():
|
||||
return '\n'.join(output)
|
||||
|
||||
def __str__(self) -> str:
|
||||
return self.to_str(False, False, False)
|
||||
return self.to_str(True, True, False)
|
||||
|
||||
def to_file(self, file_path: Optional[pathlib.Path]=None) -> None: # noqa: 11
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user