Skip to content

Commit

Permalink
Removing tmp files
Browse files Browse the repository at this point in the history
Signed-off-by: Yashvi Jain <[email protected]>
  • Loading branch information
Yashvi Jain committed Oct 25, 2023
1 parent 716c37b commit e000a28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/compliance-service/inspec/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func Scan(paths []string, target *TargetConfig, timeout time.Duration, env map[s
return nil, nil, scanErr
}

os.RemoveAll(tmpDirPath)
return stdOut, stdErr, nil
}

Expand Down

0 comments on commit e000a28

Please sign in to comment.