Skip to content

Commit 3c0c53b

Browse files
committed
Added the skip empty scanners
1 parent 1285456 commit 3c0c53b

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

cmd/main.go

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,26 @@ func doScanning() error {
106106
tomlManipulator,
107107
},
108108
},
109+
110+
envscanners.ManipulatorSkipEmptyEnvScanner{
111+
Env: envprovider,
112+
Manipulator: []manipulators.Manipulator{
113+
iniManipulator,
114+
jsonManipulator,
115+
yamlManipulator,
116+
tomlManipulator,
117+
},
118+
},
119+
120+
envscanners.ManipulatorSkipEmptyEnvScannerTwo{
121+
Env: envprovider,
122+
Manipulator: []manipulators.Manipulator{
123+
iniManipulator,
124+
jsonManipulator,
125+
yamlManipulator,
126+
tomlManipulator,
127+
},
128+
},
109129
}
110130

111131
for _, scanner := range scanners {

0 commit comments

Comments
 (0)