Commit ad92b52
committed
Fix empty value handling in get_variable_values
If an XCCDF Value doesn't have any value but has a selector,
we should use the actual selector name. It seems the variable
name holding the selector name was accidentally quoted so instead
of the actual selector name we got "selector" literally.1 parent 7a233f5 commit ad92b52
File tree
2 files changed
+4
-3
lines changed- build-scripts
- tests/unit/build-scripts
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
263 | 264 | | |
| |||
0 commit comments