mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
style: format
This commit is contained in:
parent
fc713c85db
commit
297568f365
1 changed files with 4 additions and 3 deletions
|
@ -108,9 +108,10 @@ for (const command of commands) {
|
|||
|
||||
// Register all of the required options
|
||||
for (const opt of command?.options || []) {
|
||||
buildCommand = opt.parse !== undefined ?
|
||||
buildCommand.option(opt.arg, opt.description, opt.parse) :
|
||||
buildCommand.option(opt.arg, opt.description);
|
||||
buildCommand =
|
||||
opt.parse !== undefined
|
||||
? buildCommand.option(opt.arg, opt.description, opt.parse)
|
||||
: buildCommand.option(opt.arg, opt.description)
|
||||
}
|
||||
|
||||
buildCommand = buildCommand.action(async (...arguments_) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue