From 97037e51853aaf1ed5ca430f2699431bdbc42d0b Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Wed, 10 Aug 2022 10:23:14 -0400 Subject: [PATCH] 206-doublestar-mount fixed config.go linting --- internal/plugin/config.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/plugin/config.go b/internal/plugin/config.go index 84065d3c..5c295c0a 100644 --- a/internal/plugin/config.go +++ b/internal/plugin/config.go @@ -54,8 +54,6 @@ func (c *Config) HandleMount(fsys fs.FS) error { c.Mount[i] = c.Mount[mountLen-1] c.Mount = c.Mount[:mountLen-1] - //cwd, _ := os.Getwd() - //fsys := os.DirFS(cwd) globMounts, err := doublestar.Glob(fsys, mount) if err != nil { return fmt.Errorf("glob handle mount error <%s>, %w", mount, err)