mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 07:30:12 +01:00
Trigger new build
This commit is contained in:
parent
ac2f924dad
commit
aaa3c8d6b4
@ -57,7 +57,7 @@ let args = yargs
|
||||
|
||||
/* Only use the last seen value if boolean, so overrides are possible */
|
||||
args = Object.keys(args).reduce((result, arg) => {
|
||||
result[arg] = Array.isArray(args[arg]) && typeof args[arg][0] === "boolean" // TODO: ugly
|
||||
result[arg] = Array.isArray(args[arg]) && typeof args[arg][0] === "boolean"
|
||||
? [].concat(args[arg]).pop()
|
||||
: args[arg]
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user