grafana / play-thema

https://grafana.github.io/play-thema/
4 stars 1 forks source link

Refine the lineage input parse #7

Open joanlopez opened 1 year ago

joanlopez commented 1 year ago

Currently, the loadLineage function expects the first line to be the one where the package is defined at.

However, there are other valid values that could be present there (like a comment line), which would make the current implementation to fail. So, would be good to refine the parsing within that function to make it able to handle such cases.