Merge pull request #2459 from code-yeongyu/fix/2453-regression
fix(tmux): add barrel export for pane-state-parser and log parse failures
This commit is contained in:
@@ -10,6 +10,7 @@ export * from "./session-status-parser"
|
|||||||
export * from "./session-message-count"
|
export * from "./session-message-count"
|
||||||
export * from "./session-ready-waiter"
|
export * from "./session-ready-waiter"
|
||||||
export * from "./types"
|
export * from "./types"
|
||||||
|
export * from "./pane-state-parser"
|
||||||
export * from "./pane-state-querier"
|
export * from "./pane-state-querier"
|
||||||
export * from "./decision-engine"
|
export * from "./decision-engine"
|
||||||
export * from "./action-executor"
|
export * from "./action-executor"
|
||||||
|
|||||||
@@ -29,7 +29,12 @@ export async function queryWindowState(sourcePaneId: string): Promise<WindowStat
|
|||||||
}
|
}
|
||||||
|
|
||||||
const parsedPaneState = parsePaneStateOutput(stdout)
|
const parsedPaneState = parsePaneStateOutput(stdout)
|
||||||
if (!parsedPaneState) return null
|
if (!parsedPaneState) {
|
||||||
|
log("[pane-state-querier] failed to parse pane state output", {
|
||||||
|
sourcePaneId,
|
||||||
|
})
|
||||||
|
return null
|
||||||
|
}
|
||||||
|
|
||||||
const { panes } = parsedPaneState
|
const { panes } = parsedPaneState
|
||||||
const windowWidth = parsedPaneState.windowWidth
|
const windowWidth = parsedPaneState.windowWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user