summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorchmnchiang <chmnchiang@gmail.com>2022-08-01 09:13:06 -0700
committerGitHub <noreply@github.com>2022-08-01 18:13:06 +0200
commit75a5e5065376d9103fc4bafc3ae6327304cee6e9 (patch)
tree7ddef316b2d408702281234387d5f58cb74c0aa0 /.github
parent2e05e63cdfc3532b52a035ed13192560af45315d (diff)
fix(resolve): Check val not nil in resolve funcs (#2097)
We did not check `val ~= nil` in the resolve functions, so config like `{ nil, max = 30 }` will throw a nil error. Also, if the config is `{ padding = _ }`, the logic relies on the function handling the padding is iterated before the one handling min/max in the map, which is not always guaranteed. Fix the bug by adding nil check in the function handling min/max. Close
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions