Skip to content

Commit f679d17

Browse files
authored
fix: DH-21063: Only load Python remote file source plugin if in python session (#272)
DH-21063: Only load Python remote file source plugin if in python session.
1 parent b9bae64 commit f679d17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dh/dhc.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ export async function initDhcSession(
152152

153153
const session = await cn.startSession(type);
154154

155-
const remoteFileSourcePlugin = await getRemoteFileSourcePlugin(cnId, session);
155+
const remoteFileSourcePlugin =
156+
type === 'python' ? await getRemoteFileSourcePlugin(cnId, session) : null;
156157

157158
return { cn, cnId, remoteFileSourcePlugin, session };
158159
}

0 commit comments

Comments
 (0)