summaryrefslogtreecommitdiff
path: root/encoding/csv.ts
diff options
context:
space:
mode:
Diffstat (limited to 'encoding/csv.ts')
-rw-r--r--encoding/csv.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/encoding/csv.ts b/encoding/csv.ts
index ccbfcba9e..10d72a8a5 100644
--- a/encoding/csv.ts
+++ b/encoding/csv.ts
@@ -56,7 +56,7 @@ async function read(
const tp = new TextProtoReader(reader);
let line: string;
let result: string[] = [];
- let lineIndex = Startline;
+ const lineIndex = Startline;
const r = await tp.readLine();
if (r === Deno.EOF) return Deno.EOF;
@@ -229,7 +229,7 @@ export async function parse(
throw `Error number of fields line:${i}`;
}
i++;
- let out: Record<string, unknown> = {};
+ const out: Record<string, unknown> = {};
for (let j = 0; j < e.length; j++) {
const h = headers[j];
if (h.parse) {