Skip to content

Commit c965577

Browse files
committed
chore(mypy): Fix typings for workspace/freezer
1 parent c77277e commit c965577

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tmuxp/workspace/freezer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def inline(workspace_dict: t.Dict[str, t.Any]) -> t.Any:
2828
workspace_dict["shell_command"] = workspace_dict["shell_command"][0]
2929

3030
if len(workspace_dict.keys()) == 1:
31-
workspace_dict = workspace_dict["shell_command"]
31+
return workspace_dict["shell_command"]
3232
if (
3333
"shell_command_before" in workspace_dict
3434
and isinstance(workspace_dict["shell_command_before"], list)

0 commit comments

Comments
 (0)