Replace exit calls with return (be callable from python) (#1082)
- Replace exit() calls with return
So it can be callable from Python as described in issue #530
This also fixes a bug, where checkov was exit()ing after only the
first directory. i.e. -d foo -d bar
would only have foo
scanned.
- Replace
is
with==
where appropriate
And is not
with !=