We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b986bac commit ab2b7c1Copy full SHA for ab2b7c1
1 file changed
cmd/src/main.go
@@ -201,8 +201,7 @@ func (c *config) apiClient(flags *api.Flags, out io.Writer) api.Client {
201
return api.NewClient(opts)
202
}
203
204
-// readConfig reads the config from the standard config file, the (deprecated) user-specified config file,
205
-// the environment variables, and the (deprecated) command-line flags.
+// readConfig reads the config file from the given path.
206
func readConfig() (*config, error) {
207
cfgFile := *configPath
208
userSpecified := *configPath != ""
0 commit comments