Skip to content

Commit

Permalink
fix: ''NoneType' object is not iterable'
Browse files Browse the repository at this point in the history
re: #128
  • Loading branch information
gerardroche committed Apr 1, 2024
1 parent 840c0e3 commit bece783
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## 3.19.3 - Unreleased

### Fixed

- Fix ''NoneType' object is not iterable'

## 3.19.2 - 2024-02-06

### Fixed
Expand Down
6 changes: 5 additions & 1 deletion lib/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ def run(self, working_dir=None, file=None, options=None) -> None:
options = get_phpunit_options(self.view, options)

cmd = []
cmd += get_setting(self.view, 'prepend_cmd')

try:
cmd += get_setting(self.view, 'prepend_cmd')
except TypeError:
pass

# Strategy
if get_setting(self.view, 'strategy') == 'kitty':
Expand Down

0 comments on commit bece783

Please sign in to comment.