Skip to content

Fix bug in `check_added_files` script

Christian Gutschow requested to merge splitlines_bug into master

Description of bug

When no new files were added files = bashExec(cmd).split('\n') would return a list with an empty string, which would be of non-zero length and the code would not exit where it should

Changes introduced

See diffs

Tests

Before

Screenshot_2022-04-04_at_13.36.38

After

Screenshot_2022-04-04_at_13.36.43

Issues resolved

Closes #162 (closed)

Edited by Spyros Argyropoulos

Merge request reports