Skip to content

Commit

Permalink
206-doublestar-mount fixed config.go linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bdebyl committed Aug 10, 2022
1 parent 07d1395 commit 97037e5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/plugin/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 97037e5

Please sign in to comment.