mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
fix oclint NPATH_COMPLEXITY custom threshold
This commit is contained in:
parent
b3d3e07c55
commit
8754f776d8
2 changed files with 3 additions and 2 deletions
4
.oclint
4
.oclint
|
@ -44,8 +44,8 @@ rule-configurations:
|
|||
value: 14
|
||||
|
||||
# We're willing to allow slighly more execution paths through a function.
|
||||
# Default is 300.
|
||||
- key: HighNPathComplexity
|
||||
# Default is 200.
|
||||
- key: NPATH_COMPLEXITY
|
||||
value: 300
|
||||
|
||||
disable-rules:
|
||||
|
|
|
@ -441,6 +441,7 @@ static int argparse_parse_args(argparse_cmd_opts_t &opts, const wcstring_list_t
|
|||
streams.err.append_format(BUILTIN_ERR_MAX_ARG_COUNT1, cmd, opts.max_args, opts.argv.size());
|
||||
return STATUS_CMD_ERROR;
|
||||
}
|
||||
|
||||
return STATUS_CMD_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue