This repository was archived by the owner on Apr 10, 2019. It is now read-only.
Description gometalinter
~~~ SNIP ~~~
repository/git/manager.go:241::warning: Potential file inclusion via variable,MEDIUM,HIGH (gosec)
repository/git/manager.go:241::warning: Potential file inclusion via variable,MEDIUM,HIGH (gosec)
repository/git/manager.go:241::warning: Potential file inclusion via variable,MEDIUM,HIGH (gosec)
repository/git/manager.go:241::warning: Potential file inclusion via variable,MEDIUM,HIGH (gosec)
repository/git/manager.go:241::warning: Potential file inclusion via variable,MEDIUM,HIGH (gosec)
~~~ SNIP ~~~
DEBUG: [Jul 27 12:32:33.233] total elapsed time 37.680799079s
gosec by hand
jjacobs@dev04:~/$ gosec repository/git/manager.go
[gosec] 2018/07/27 14:33:38 including rules: default
[gosec] 2018/07/27 14:33:38 excluding rules: default
[gosec] 2018/07/27 14:33:38 Searching directory: repository/git
[gosec] 2018/07/27 14:33:40 Checking package: git
[gosec] 2018/07/27 14:33:40 Checking file: repository/git/bucket.go
[gosec] 2018/07/27 14:33:40 Checking file: repository/git/git.go
[gosec] 2018/07/27 14:33:40 Checking file: repository/git/manager.go
[gosec] 2018/07/27 14:33:40 Checking file: repository/git/repository.go
[gosec] 2018/07/27 14:33:40 Checking file: repository/git/template.go
Results:
[repository/git/manager.go:241] - G304: Potential file inclusion via variable (Confidence: HIGH, Severity: MEDIUM)
> os.Open(src)
Summary:
Files: 5
Lines: 600
Nosec: 0
Issues: 1
Reactions are currently unavailable