fix: corrige fonction reduce
This commit is contained in:
parent
83f6cc6ef4
commit
ee31689f9e
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ function ListHolder:replace(datas)
|
|||
end
|
||||
end
|
||||
|
||||
function ListHolder:reduce(list, level)
|
||||
function ListHolder:reduce(level)
|
||||
return self.list
|
||||
end
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue