Skip to content

Commit

Permalink
styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shaselton-usds committed Jan 12, 2024
1 parent 480a89c commit 4fee9a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/versions/1.1/csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import {

// CSV is being allowed to have case insensitive values...
const STATE_CODES_CSV = STATE_CODES.map((state) => state.toLowerCase())
const BILLING_CODE_TYPES_CSV = BILLING_CODE_TYPES.map((code) => code.toLowerCase())
const BILLING_CODE_TYPES_CSV = BILLING_CODE_TYPES.map((code) =>
code.toLowerCase()
)
const DRUG_UNITS_CSV = DRUG_UNITS.map((unit) => unit.toLowerCase())

export const HEADER_COLUMNS = [
Expand Down Expand Up @@ -207,7 +209,9 @@ export function validateRow(
)
)

if (!BILLING_CODE_TYPES_CSV.includes(row["code | 1 | type"] as BillingCodeType)) {
if (
!BILLING_CODE_TYPES_CSV.includes(row["code | 1 | type"] as BillingCodeType)
) {
errors.push(
csvErr(
index,
Expand Down

0 comments on commit 4fee9a5

Please sign in to comment.