fix: corrige fonction reduce

This commit is contained in:
Kazhnuz 2024-08-02 08:38:54 +02:00
parent 83f6cc6ef4
commit ee31689f9e
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ function ListHolder:replace(datas)
end
end
function ListHolder:reduce(list, level)
function ListHolder:reduce(level)
return self.list
end

View file

@ -11,7 +11,7 @@ function SimpleHolder:applyCommand(command, args)
self.value = args
end
function SimpleHolder:reduce(list, level)
function SimpleHolder:reduce(level)
return self.value
end