Skip to content

Commit

Permalink
Use longer variable names for clarity
Browse files Browse the repository at this point in the history
Co-authored-by: Jens Claes <jensclaes33@gmail.com>

Fix variable name
  • Loading branch information
davecardwell committed Sep 11, 2020
1 parent a09ec08 commit ef6c6df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ if (argv.e) {
}

if (argv.c) {
paths = paths.reduce((acc, p) => acc.concat(
paths = paths.reduce((accumulator, path) => accumulator.concat(
typeof argv.c === 'string'
? [`${p}.${argv.c}.local`, `${p}.${argv.c}`, `${p}.local`, p]
: [`${p}.local`, p]
? [`${path}.${argv.c}.local`, `${path}.${argv.c}`, `${path}.local`, path]
: [`${path}.local`, path]
), [])
}

Expand Down

0 comments on commit ef6c6df

Please sign in to comment.