()
| 498 | } |
| 499 | |
| 500 | // appendVendoringFlags checks for and appends vendored dependency flags to the command. |
| 501 | func appendVendoringFlags(cmd []string) []string { |
| 502 | if vendorDir, isVendored := os.LookupEnv(VendorPipDepsEnv); isVendored { |
| 503 | buildermetrics.GlobalBuilderMetrics().GetCounter(buildermetrics.PipVendorDependenciesCounterID).Increment(1) |
| 504 | return append(cmd, "--no-index", "--find-links", vendorDir) |
| 505 | } |
no outgoing calls
no test coverage detected