From 0fc4c6b42d8fa9a054d47465f9988303bfc57cf7 Mon Sep 17 00:00:00 2001 From: Keerthi Thatipally <99229993+kthatipally@users.noreply.github.com> Date: Wed, 19 Feb 2025 13:38:26 -0600 Subject: [PATCH] [Windows-Only] Container less: Remove condition for windows cleanup additional 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> --- cmd/cleanup.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/cleanup.go b/cmd/cleanup.go index 40cf80fb..c049f306 100644 --- a/cmd/cleanup.go +++ b/cmd/cleanup.go @@ -4,7 +4,6 @@ import ( "context" "os" "os/exec" - "runtime" ) func (a *analyzeCommand) CleanAnalysisResources(ctx context.Context) error { @@ -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{