mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-20 13:24:38 -04:00
Merge pull request #6127 from kobergj/ExcludeVendorFolderFromExtendedEnvvars
[docs-only] Exclude Vendor Folder from docs
This commit is contained in:
1 file changed
+1
-1
@@ -69,7 +69,7 @@ func GetRogueEnvs() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
fmt.Println("Gathering variable definitions from source")
|
||||
out, err := exec.Command("sh", "-c", "grep -RHn os.Getenv | grep -v extendedEnv.go |grep \\.go").Output()
|
||||
out, err := exec.Command("sh", "-c", "grep -RHn os.Getenv --exclude-dir=vendor | grep -v extendedEnv.go |grep \\.go").Output()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user