More debug prints
This commit is contained in:
parent
6edad05c21
commit
3db06a2915
1 changed files with 0 additions and 2 deletions
|
|
@ -24,7 +24,6 @@ func FilePromptCompleter(getcwd func() string) func(string, string) *cli.Complet
|
|||
return ans
|
||||
}
|
||||
}
|
||||
debugprintln(1111111, getcwd())
|
||||
return func(before_cursor, after_cursor string) (ans *cli.Completions) {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
|
|
@ -40,7 +39,6 @@ func FilePromptCompleter(getcwd func() string) func(string, string) *cli.Complet
|
|||
prefix = d + utils.IfElse(strings.HasSuffix(d, string(os.PathSeparator)), "", string(os.PathSeparator))
|
||||
}
|
||||
dir := ""
|
||||
debugprintln(2222222, getcwd())
|
||||
if path == "" {
|
||||
path = getcwd()
|
||||
dir = path
|
||||
|
|
|
|||
Loading…
Reference in a new issue