Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hahnlee committed Jan 9, 2025
1 parent ab69b2d commit 72bdd2f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/parser/src/models/controls/column.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import { OtherCtrlID } from '../../constants/ctrl-id.js'
import { getBitValue, getFlag } from '../../utils/bit-utils.js'
import { ByteReader } from '../../utils/byte-reader.js'
import type { PeekableIterator } from '../../utils/generator.js'
import type { HWPRecord } from '../record.js'
import { Control } from './control.js'

Expand All @@ -36,7 +35,6 @@ export class ColumnControl extends Control {
static fromRecord(
id: number,
record: HWPRecord,
iterator: PeekableIterator<HWPRecord>,
) {
const reader = new ByteReader(record.data)
const ctrlId = reader.readUInt32()
Expand Down
2 changes: 1 addition & 1 deletion packages/parser/src/models/controls/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function mapControl(
) {
switch (ctrlId) {
case OtherCtrlID.Column:
return ColumnControl.fromRecord(ctrlId, current, iterator)
return ColumnControl.fromRecord(ctrlId, current)
case OtherCtrlID.Section:
return SectionControl.fromRecord(ctrlId, current, iterator, version)
case CommonCtrlID.Table:
Expand Down

0 comments on commit 72bdd2f

Please sign in to comment.