Skip to content

Commit 8d2cdf5

Browse files
silence require warnings
1 parent 0373853 commit 8d2cdf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/interceptors-opentelemetry/src/workflow/workflow-module-loader.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export function getWorkflowModule(): typeof WorkflowModule {
4040
* Will throw if `@temporalio/workflow` is not available
4141
*/
4242
export function hasSdkFlag(flag: keyof SdkFlags): boolean {
43+
// eslint-disable-next-line @typescript-eslint/no-require-imports
4344
const { SdkFlags } = require('@temporalio/workflow/lib/flags');
45+
// eslint-disable-next-line @typescript-eslint/no-require-imports
4446
const { getActivator } = require('@temporalio/workflow/lib/global-attributes');
4547

4648
return getActivator().hasFlag(SdkFlags[flag]);

0 commit comments

Comments
 (0)