Skip to content

Commit

Permalink
chore: update standard (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Feb 10, 2020
1 parent f2b3952 commit 0dea619
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 86 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -725,7 +725,7 @@ function parse (args, opts) {
checkAllAliases(key, flags.counts) ||
checkAllAliases(key, flags.bools)
)) {
o[key] = [ o[key], value ]
o[key] = [o[key], value]
} else {
o[key] = value
}
Expand Down Expand Up @@ -774,7 +774,7 @@ function parse (args, opts) {
function checkAllAliases (key, flag) {
const toCheck = [].concat(flags.aliases[key] || [], key)
const keys = Object.keys(flag)
let setAlias = toCheck.find(key => keys.includes(key))
const setAlias = toCheck.find(key => keys.includes(key))
return setAlias ? flag[setAlias] : false
}

Expand Down
2 changes: 1 addition & 1 deletion lib/tokenize-arg-string.js
Expand Up @@ -10,7 +10,7 @@ module.exports = function (argString) {
let prevC = null
let c = null
let opening = null
let args = []
const args = []

for (let ii = 0; ii < argString.length; ii++) {
prevC = c
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -30,7 +30,7 @@
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"mocha": "^7.0.0",
"standard": "^12.0.1"
"standard": "^14.3.1"
},
"dependencies": {
"camelcase": "^5.0.0",
Expand Down

0 comments on commit 0dea619

Please sign in to comment.