We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab037d commit 374c19cCopy full SHA for 374c19c
1 file changed
src/compose/composer.ts
@@ -1,3 +1,4 @@
1
+import { env } from 'node:process'
2
import { Directives } from '../doc/directives.ts'
3
import { Document } from '../doc/Document.ts'
4
import type { ErrorCode } from '../errors.ts'
@@ -166,7 +167,7 @@ export class Composer<
166
167
*next(
168
token: Token
169
): Generator<Document.Parsed<Contents, Strict>, void, unknown> {
- if (process.env.LOG_STREAM) console.dir(token, { depth: null })
170
+ if (env.LOG_STREAM) console.dir(token, { depth: null })
171
switch (token.type) {
172
case 'directive':
173
this.directives.add(token.source, (offset, message, warning) => {
0 commit comments