Skip to content

Commit 8170198

Browse files
committed
Guard tmux viewer entrypoint
1 parent c7c2cae commit 8170198

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.agents/tmux-viewer/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,6 @@ async function runViewer(
201201
)
202202
}
203203

204-
void main()
204+
if (import.meta.main) {
205+
void main()
206+
}

0 commit comments

Comments
 (0)