mirror of
https://github.com/junegunn/fzf.git
synced 2025-05-19 12:50:22 -07:00
Remove stale comment
This commit is contained in:
parent
5c01fee5a9
commit
d9404fcce4
@ -148,8 +148,8 @@ func Run(opts *Options) (int, error) {
|
|||||||
|
|
||||||
// Terminal I/O
|
// Terminal I/O
|
||||||
var terminal *Terminal
|
var terminal *Terminal
|
||||||
var initialEnv []string
|
|
||||||
var err error
|
var err error
|
||||||
|
var initialEnv []string
|
||||||
initialReload := opts.extractReloadOnStart()
|
initialReload := opts.extractReloadOnStart()
|
||||||
if opts.Filter == nil {
|
if opts.Filter == nil {
|
||||||
terminal, err = NewTerminal(opts, eventBox, executor)
|
terminal, err = NewTerminal(opts, eventBox, executor)
|
||||||
|
@ -123,7 +123,6 @@ func (r *Reader) ReadSource(inputChan chan string, root string, opts walkerOpts,
|
|||||||
if len(cmd) == 0 {
|
if len(cmd) == 0 {
|
||||||
success = r.readFiles(root, opts, ignores)
|
success = r.readFiles(root, opts, ignores)
|
||||||
} else {
|
} else {
|
||||||
// We can't export FZF_* environment variables to the default command
|
|
||||||
success = r.readFromCommand(cmd, initEnv)
|
success = r.readFromCommand(cmd, initEnv)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user