mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 22:17:05 +02:00
remove comment
This commit is contained in:
parent
6c5e409ffa
commit
0afffd03ca
@ -19,7 +19,6 @@ import (
|
|||||||
// Output is a function that executes by every word that gets read by bufio
|
// Output is a function that executes by every word that gets read by bufio
|
||||||
// As return of output you need to give a string that will be written to stdin
|
// As return of output you need to give a string that will be written to stdin
|
||||||
// NOTE: If the return data is empty it won't written anything to stdin
|
// NOTE: If the return data is empty it won't written anything to stdin
|
||||||
// NOTE: You don't have to include a enter in the return data this function will do that for you
|
|
||||||
func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(string) string) error {
|
func RunCommandWithOutputLiveWrapper(c *OSCommand, command string, output func(string) string) error {
|
||||||
splitCmd := str.ToArgv(command)
|
splitCmd := str.ToArgv(command)
|
||||||
cmd := exec.Command(splitCmd[0], splitCmd[1:]...)
|
cmd := exec.Command(splitCmd[0], splitCmd[1:]...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user