From 05add55d5dbdd233e01aa8a2b0acd6e0aa9aa3e2 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 16 Jan 2024 11:18:23 +0100 Subject: [PATCH] style: rename variable for expressivity --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index f230e36..d0a325d 100644 --- a/main.ts +++ b/main.ts @@ -23,10 +23,10 @@ await new Command() { required: true }, ) .arguments('') - .action(async ({ group, endpoint, apiKey, onlyAdd }, domain) => { + .action(async ({ group, endpoint, apiKey, onlyAdd }, filePath) => { const redmine = new Redmine({ endpoint, apiKey }) - const file = await Deno.readTextFile(domain) + const file = await Deno.readTextFile(filePath) const csv = CSV.parse(file.replaceAll(';', ','), { skipFirstRow: true,