style: rename variable for expressivity
This commit is contained in:
parent
167ddd4579
commit
05add55d5d
4
main.ts
4
main.ts
|
@ -23,10 +23,10 @@ await new Command()
|
|||
{ required: true },
|
||||
)
|
||||
.arguments('<csv:file>')
|
||||
.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,
|
||||
|
|
Loading…
Reference in a new issue