From 38e7d960d0995af9ec0a7b628637064f21468571 Mon Sep 17 00:00:00 2001 From: Spiegel Date: Fri, 24 Nov 2017 14:23:25 +0900 Subject: [PATCH] Modified interactive mode --- cli/mklink/interactive/interractive.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/mklink/interactive/interractive.go b/cli/mklink/interactive/interractive.go index 52bbb77..cd1dac2 100644 --- a/cli/mklink/interactive/interractive.go +++ b/cli/mklink/interactive/interractive.go @@ -57,6 +57,9 @@ func (c *Context) Run() error { if !ok { break } + if len(res) == 0 { + continue + } if err := c.MakeLink(res); err != nil { fmt.Fprintln(c.writer, err) }