fix: 删除未使用的函数修复golangci-lint错误
This commit is contained in:
@@ -124,14 +124,6 @@ func (r *TermHandler) collectOutput(output string) {
|
||||
}
|
||||
}
|
||||
|
||||
func (r *TermHandler) getAndClearOutput() string {
|
||||
r.outputMutex.Lock()
|
||||
defer r.outputMutex.Unlock()
|
||||
output := r.outputBuf.String()
|
||||
r.outputBuf.Reset()
|
||||
return output
|
||||
}
|
||||
|
||||
func (r *TermHandler) saveLastCommandOutput() {
|
||||
r.outputMutex.Lock()
|
||||
defer r.outputMutex.Unlock()
|
||||
|
||||
Reference in New Issue
Block a user