Skip to content

Commit

Permalink
remove unused COLUMN_COUNT error
Browse files Browse the repository at this point in the history
  • Loading branch information
mint-thompson committed Jan 5, 2024
1 parent e485a42 commit 0d59772
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/versions/1.1/csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ const ERRORS = {
HEADER_COLUMN_BLANK: (column: string) => `"${column}" is blank`,
HEADER_STATE_CODE: (column: string, stateCode: string) =>
`Header column "${column}" includes an invalid state code "${stateCode}"`,
COLUMN_COUNT: (actual: number, expected: number) =>
`Received ${actual} columns, less than the required number ${expected}`,
COLUMN_NAME: (actual: string, expected: string, format: string) =>
`Column is "${actual}" and should be "${expected}" for ${format} format`,
COLUMN_MISSING: (column: string, format: string) =>
Expand Down
2 changes: 0 additions & 2 deletions src/versions/2.0/csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ const ERRORS = {
HEADER_COLUMN_BLANK: (column: string) => `"${column}" is blank`,
HEADER_STATE_CODE: (column: string, stateCode: string) =>
`Header column "${column}" includes an invalid state code "${stateCode}"`,
COLUMN_COUNT: (actual: number, expected: number) =>
`Received ${actual} columns, less than the required number ${expected}`,
COLUMN_NAME: (actual: string, expected: string, format: string) =>
`Column is "${actual}" and should be "${expected}" for ${format} format`,
COLUMN_MISSING: (column: string, format: string) =>
Expand Down

0 comments on commit 0d59772

Please sign in to comment.