diff options
| author | Shulhan <ms@kilabit.info> | 2024-04-06 01:53:49 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-04-06 01:53:49 +0700 |
| commit | 490dcc6ec98d065a7b1a81016adae13e11454984 (patch) | |
| tree | 8035d753ef4420f3c6d8a4b460257af55854226b /awwan.go | |
| parent | f123985b0a028ecdfd08010cd9d38a95388e2c12 (diff) | |
| download | awwan-490dcc6ec98d065a7b1a81016adae13e11454984.tar.xz | |
all: comply with linter recommendations
Diffstat (limited to 'awwan.go')
| -rw-r--r-- | awwan.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,13 +24,13 @@ var Version = `0.12.0` // osGetwd define the handler to get current working directory. // -// This variable will be overriden in testing to test running awwan in sub +// This variable will be overridden in testing to test running awwan in sub // directory of workspace. var osGetwd = os.Getwd // timeNow define a function that return the current time. // -// This variable will be overriden in testing to mock time. +// This variable will be overridden in testing to mock time. var timeNow = time.Now // List of command available for program awwan. @@ -476,7 +476,7 @@ out: } if err != nil { req.mlog.Errf(`!!! %s`, err) - err = fmt.Errorf(`%s: %s`, logp, err) + err = fmt.Errorf(`%s: %w`, logp, err) } req.close() return err |
