mirror of
https://github.com/kubescape/kubescape.git
synced 2026-02-14 18:09:55 +00:00
Signed-off-by: Frederic BIDON <fredbi@yahoo.com> Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com> Conflicts: core/pkg/hostsensorutils/hostsensordeploy_test.go
13 lines
160 B
Go
13 lines
160 B
Go
package testutils
|
|
|
|
import (
|
|
"path/filepath"
|
|
"runtime"
|
|
)
|
|
|
|
func CurrentDir() string {
|
|
_, filename, _, _ := runtime.Caller(1)
|
|
|
|
return filepath.Dir(filename)
|
|
}
|