mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-21 13:58:49 +00:00
🐛 Fix an issue in the script title retrieval from the first comment
This commit is contained in:
parent
cedb7bc8bc
commit
0c68c0f99f
@ -41,6 +41,7 @@ func ReadScriptFile(path string) (script *Script, err error) {
|
|||||||
idx0 = node.Idx0()
|
idx0 = node.Idx0()
|
||||||
|
|
||||||
title = comments[0].Text
|
title = comments[0].Text
|
||||||
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
script = &Script{
|
script = &Script{
|
||||||
|
Loading…
Reference in New Issue
Block a user