File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ sanitize_numeric() {
231231 if [[ ! " $sanitized " =~ ^[0-9]+$ ]]; then
232232 log_error " Invalid numeric value for $field_name : $value "
233233 log_error " Value must be a positive integer"
234- exit 1
234+ return 1
235235 fi
236236
237237 # Convert to integer (removes leading zeros) for range checking
@@ -243,7 +243,7 @@ sanitize_numeric() {
243243 if (( int_value < int_min )) || (( int_value > int_max )) ; then
244244 log_error " Numeric value for $field_name out of range: $int_value "
245245 log_error " Value must be between $int_min and $int_max "
246- exit 1
246+ return 1
247247 fi
248248
249249 # Return the integer value (without leading zeros)
Original file line number Diff line number Diff line change 549549 "github.com/json-iterator/go" : " MIT" ,
550550 "github.com/jsummers/gobmp" : " MIT" ,
551551 "github.com/julz/importas" : " Apache-2.0" ,
552+ "github.com/k0kubun/pp/v3" : " MIT" ,
553+ "github.com/karamaru-alpha/copyloopvar" : " MIT" ,
554+ "github.com/kballard/go-shellquote" : " MIT" ,
555+ "github.com/kelseyhightower/envconfig" : " MIT" ,
556+ "github.com/kennygrant/sanitize" : " BSD-3-Clause" ,
557+ "github.com/kevinburke/ssh_config" : " MIT" ,
558+ "github.com/kisielk/errcheck" : " MIT" ,
559+ "github.com/kkHAIKE/contextcheck" : " Apache-2.0" ,
552560 "github.com/klauspost/compress" : " BSD-3-Clause" ,
561+ "github.com/klauspost/cpuid/v2" : " MIT" ,
562+ "github.com/knadh/koanf/maps" : " MIT" ,
553563 "github.com/lufia/plan9stats" : " BSD-3-Clause" ,
554564 "github.com/magiconair/properties" : " BSD-2-Clause" ,
555565 "github.com/MakeNowJust/heredoc" : " MIT" ,
You can’t perform that action at this time.
0 commit comments