MaibornWolff / metric-gardener

BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Fix: command import-grammars works now again #224

Closed ResistantBear closed 5 months ago

ResistantBear commented 5 months ago

Fix: command import-grammars works now again

Closes #223

Description

import-grammars now works again after encapsulating the asynchronous import script into a lambda function, just like with the main parse command.

Definition of Done

A PR is only ready for merge once all the following acceptance criteria are fulfilled:

ResistantBear commented 5 months ago

can we also add tests for this?

For this fix? We would need to test our CLI for this. We do not have any tests for that yet. I propose to open a new issue for introducing such tests, also covering our other command parse. As without this change, the command import-grammars does not work at all and you will absolutely need this to support new languages like Perl, I propose to merge this immediately as a hotfix.

ResistantBear commented 5 months ago

Concerning the import script itself, we do not have any tests for that currently, either. We have issue #55 for this. As this command is only used by us as developers, we have not prioritized this.