Skip to content

Commit

Permalink
[Windows-Only] Container less: Remove condition for windows cleanup a…
Browse files Browse the repository at this point in the history
…dditional folders logic (#433)

* Remove condition for windows cleanup additional folders logic

Signed-off-by: kthatipally <99229993+kthatipally@users.noreply.github.com>

* Remove unused runtime package

Signed-off-by: kthatipally <99229993+kthatipally@users.noreply.github.com>

---------

Signed-off-by: kthatipally <99229993+kthatipally@users.noreply.github.com>
  • Loading branch information
kthatipally authored Feb 19, 2025
1 parent 4cd7c4d commit 0fc4c6b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/cleanup.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"os"
"os/exec"
"runtime"
)

func (a *analyzeCommand) CleanAnalysisResources(ctx context.Context) error {
Expand Down Expand Up @@ -95,11 +94,6 @@ func (c *AnalyzeCommandContext) RmProviderContainers(ctx context.Context) error
}

func (a *analyzeCommand) cleanlsDirs() error {
// TODO clean this up for windows
// currently a perm issue with deleting these dirs
if runtime.GOOS == "windows" {
return nil
}
a.log.V(7).Info("removing language server dirs")
// this assumes dirs created in wd
lsDirs := []string{
Expand Down

0 comments on commit 0fc4c6b

Please sign in to comment.