Fix race in reload action

Fix #4070
This commit is contained in:
Junegunn Choi committed 2024-10-31 19:40:40 +09:00
1 parent 82ebcd9209
commit dcb4c3d84a
2 files changed
+65 -41

No files matched your search

+1 -1
View File
@@ -299,7 +299,7 @@ func Run(opts *Options) (int, error) {
itemIndex = 0
inputRevision.bumpMajor()
header = make([]string, 0, opts.HeaderLines)
go reader.restart(command, environ)
reader.restart(command, environ)
}
exitCode := ExitOk