Skip to content

Model.cloud() function error #105

Closed
Closed
@anthony-legay

Description

Okay, I just tried to use the cloud() Model function and I think I identified a bug when I read the source code.
On line 1610 of the Model class, the map function (js string) is formatted with the "field" parameter with %s, two times, but at the end of the function, there is still "emit(this.tags[index], 1)"

I don't think this is normal, at least, it's useless to provide a field parameter and not using it in the end.

In my opinion, it should look like "emit(this.%s[index], 1)".

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions