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
|
||||||
end
|
end
|
||||||
|
|
||||||
function ListHolder:reduce(list, level)
|
function ListHolder:reduce(level)
|
||||||
return self.list
|
return self.list
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ function SimpleHolder:applyCommand(command, args)
|
||||||
self.value = args
|
self.value = args
|
||||||
end
|
end
|
||||||
|
|
||||||
function SimpleHolder:reduce(list, level)
|
function SimpleHolder:reduce(level)
|
||||||
return self.value
|
return self.value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue