Wunderbyte-GmbH / moodle-local_wunderbyte_table

Wunderbyte Table
Other
4 stars 5 forks source link

Mustache error "trailing space" in twtable_list_container.mustache #31

Closed semteacher closed 9 months ago

semteacher commented 11 months ago

The following error had occurred in the twtable_list_container.mustache

/home/runner/work/moodle-local_wunderbyte_table/moodle-local_wunderbyte_table/moodle/local/wunderbyte_table/templates/twtable_list_container.mustache - WARNING: ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 9 Column: 1

No visible (or detectable by editors wich could visualize spec symbols) spaces found. I even tied to simulate an additional artificial error by adding code with intentional error

Image

As a result - new (intentional) error had been adde to the same line

Image

But previous had to be preserved in the same position (which has to be impossible)

At this moement the twtable_list_container.mustache file has been adeed to the exception list (MUSTACHE_IGNORE_NAMES) in the moodle-plugin-ci.yml So error suppressed but not resolved