Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
geofflangenderfer committed Feb 6, 2020
1 parent bff93b9 commit 917e3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rowSplit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Fileline } from "./fileline";
import getEol from "./getEol";
import { filterArray, trimLeft, trimRight } from "./util";

const defaulDelimiters = [",", "|", "\t", ";", ":"];
const defaultDelimiters = [",", "|", "\t", ";", ":"];
export class RowSplit {
private quote: string;
private trim: boolean;
Expand Down Expand Up @@ -136,7 +136,7 @@ export class RowSplit {
private getDelimiter(fileline: Fileline): string {
let possibleDelimiters;
if (this.conv.parseParam.delimiter === "auto") {
possibleDelimiters = defaulDelimiters;
possibleDelimiters = defaultDelimiters;
} else if (this.conv.parseParam.delimiter instanceof Array) {
possibleDelimiters = this.conv.parseParam.delimiter;
} else {
Expand Down

0 comments on commit 917e3b0

Please sign in to comment.