We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e92d180 commit d2eaefdCopy full SHA for d2eaefd
src/dh/dhc.ts
@@ -157,7 +157,9 @@ export async function initDhcSession(
157
type === 'python' ? await getRemoteFileSourcePlugin(cnId, session) : null;
158
159
const groovyRemoteFileSourcePlugin: DhType.remotefilesource.RemoteFileSourceService | null =
160
- type === 'groovy' ? await client.getRemoteFileSourceService() : null;
+ type === 'groovy' && 'getRemoteFileSourceService' in client
161
+ ? await client.getRemoteFileSourceService()
162
+ : null;
163
164
return {
165
cn,
0 commit comments