🐛 Fix an issue in the script title retrieval from the first comment

This commit is contained in:
M. Mert Yildiran
2023-03-08 00:14:35 +03:00
parent cedb7bc8bc
commit 0c68c0f99f

View File

@@ -41,6 +41,7 @@ func ReadScriptFile(path string) (script *Script, err error) {
idx0 = node.Idx0()
title = comments[0].Text
break
}
script = &Script{