summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-11-12 17:23:39 +0100
committerValery Piashchynski <[email protected]>2023-11-12 17:23:39 +0100
commiteff2b60a47f56a2acf3eda8b8fceb8945a4b904b (patch)
tree865bdc7bbbc1ca60eb81e379786364be73f13436 /internal
parent418faa9ec2016b313c370867f6d552ec2f090264 (diff)
chore(deps): update dependencies
Diffstat (limited to 'internal')
-rw-r--r--internal/cli/root.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/cli/root.go b/internal/cli/root.go
index feae0ee3..2b36d228 100644
--- a/internal/cli/root.go
+++ b/internal/cli/root.go
@@ -74,7 +74,7 @@ func NewCommand(cmdName string) *cobra.Command { //nolint:funlen,gocognit
// try to get the absolute path to the configuration
if absPath, err := filepath.Abs(*cfgFile); err == nil {
- *cfgFile = absPath // switch config path to the absolute
+ *cfgFile = absPath // switch a config path to the absolute
// if workDir is empty - force working absPath related to config file
if workDir == "" {
@@ -84,7 +84,7 @@ func NewCommand(cmdName string) *cobra.Command { //nolint:funlen,gocognit
}
}
- if v, ok := os.LookupEnv(envDotenv); ok { // read path to the dotenv file from environment variable
+ if v, ok := os.LookupEnv(envDotenv); ok { // read a path to the dotenv file from environment variable
dotenv = v
}
@@ -107,7 +107,7 @@ func NewCommand(cmdName string) *cobra.Command { //nolint:funlen,gocognit
if errS != nil && stderr.Is(errS, http.ErrServerClosed) {
return
}
- // if we have other type of error - record it
+ // if we have another type of error - record it
stpErr <- errS
}()