Skip to content

Commit 1af0cf6

Browse files
committed
fix: report card issues
1 parent 52d8ce1 commit 1af0cf6

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

LICENSE

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE
2+
Version 3.1, July 2019
3+
4+
by Sam Hocevar <[email protected]>
5+
theiostream <[email protected]>
6+
7+
8+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENCE
9+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
10+
11+
0. You just DO WHAT THE FUCK YOU WANT TO.

cmd/configmanager/configmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func main() {
3737
os.Exit(1)
3838
}
3939

40-
// Conver to ExportVars
40+
// Conver to ExportVars
4141
gv.ConvertToExportVar()
4242

4343
f, err := gv.FlushToFile()

configmanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/dnitsch/configmanager/pkg/generator"
77
)
88

9-
// Retrieve gets a rawMap from a set implementaion
9+
// Retrieve gets a rawMap from a set implementation
1010
// will be empty if no matches found
1111
func Retrieve(tokens []string, config generator.GenVarsConfig) (generator.ParsedMap, error) {
1212
gv := generator.New()

pkg/generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ func (c *genVars) retrieveSpecific(prefix, in string) (string, error) {
138138
func isParsed(res interface{}, trm *ParsedMap) bool {
139139
str := fmt.Sprint(res)
140140
if err := json.Unmarshal([]byte(str), &trm); err != nil {
141-
log.Infof("Err = %v", err)
142141
log.Info("unable to parse into a k/v map returning a string instead")
143142
return false
144143
}
144+
log.Info("parsed into a k/v map")
145145
return true
146146
}
147147

0 commit comments

Comments
 (0)