We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41c14ae commit cd02de7Copy full SHA for cd02de7
packages/apollo-collaboration-server/src/plugins/plugins.module.ts
@@ -3,6 +3,7 @@ import fs from 'node:fs'
3
import fsPromises from 'node:fs/promises'
4
import path from 'node:path'
5
import { Writable } from 'node:stream'
6
+import { fileURLToPath } from 'node:url'
7
8
import {
9
ApolloPlugin,
@@ -19,6 +20,8 @@ import sanitize from 'sanitize-filename'
19
20
import { APOLLO_PLUGINS } from './plugins.constants.js'
21
import { PluginsService } from './plugins.service.js'
22
23
+const __dirname = path.dirname(fileURLToPath(import.meta.url))
24
+
25
@Module({})
26
export class PluginsModule {
27
private readonly logger = new Logger(PluginsModule.name)
0 commit comments