Skip to content

Commit 4b86b43

Browse files
committed
Formatter: Remove debug process.DEBUG_FLOW
1 parent c6aa3bb commit 4b86b43

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

javascript/packages/formatter/src/text-flow-engine.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,6 @@ export class TextFlowEngine {
214214
const unitsWithNodes: ContentUnitWithNode[] = this.analyzer.buildContentUnits(children)
215215
const words: Array<{ word: string, isHerbDisable: boolean }> = []
216216

217-
if (process.env.DEBUG_FLOW) {
218-
console.log('UNITS: ' + JSON.stringify(unitsWithNodes.map(u => ({ t: u.unit.type, c: u.unit.content.substring(0, 60), a: u.unit.isAtomic, b: u.unit.breaksFlow }))))
219-
}
220-
221217
for (const { unit, node } of unitsWithNodes) {
222218
if (unit.breaksFlow) {
223219
this.flushWords(words)

0 commit comments

Comments
 (0)