chore: storing version and changelog

This commit is contained in:
StraToN
2022-04-19 05:55:31 +00:00
parent 768f65d929
commit 0a1f16f61f
3 changed files with 19 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ func validate(arguments: Array):
]
)
return false
return true
# Run the command

View File

@@ -57,7 +57,7 @@ func prepare_arguments(arguments: Array) -> Array:
if index >= complete_arguments.size():
complete_arguments.append(arguments[index])
continue
complete_arguments[index] = escoria.utils.get_typed_value(
arguments[index],
types[index]
@@ -151,14 +151,14 @@ func _is_type(argument, type: int) -> bool:
# #### Parameters
#
# - array_to_check: Array to check for leading non-null values
# - max_index: Maximum (inclusive) index to check in array_to_check
# - max_index: Maximum (inclusive) index to check in array_to_check
#
# *Returns* the total number of entries at the start of
# array_to_check that are not null
func _count_leading_non_null_values(array_to_check: Array, max_index: int) -> int:
if array_to_check == null or max_index < 0:
return 0
var leading_non_nulls_count: int = 0
for i in range(max_index):