(a []string)
| 7 | ) |
| 8 | |
| 9 | func initModuleParams(a []string) client.Params { |
| 10 | return client.Params{ |
| 11 | ExecCmd: a, |
| 12 | Function: functionName(a), |
| 13 | EagerRuntime: eagerRuntime, |
| 14 | LoadWorkspaceModules: shouldLoadWorkspaceModules(false), |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func shouldLoadWorkspaceModules(disableModuleLoad bool) bool { |
| 19 | return !disableModuleLoad && !moduleNoURL |
no test coverage detected