Skip to content

Commit a58a155

Browse files
committed
Fix failing CI builds
1 parent 018d010 commit a58a155

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Run tests
88
strategy:
99
matrix:
10-
os: [ubuntu-latest, macos-latest]
10+
os: [ubuntu-20.04, macos-latest]
1111
python-version: [3.6]
1212
poetry-version: [1.1.4]
1313
runs-on: ${{ matrix.os }}

src/pathpicker/output.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,10 @@ def join_files_into_command(files_and_line_numbers: List[Tuple[str, int]]) -> st
110110
and line_num != 0
111111
):
112112
cmd += f" +{line_num} '{file_path}'"
113-
elif editor_without_args in ["subl", "sublime", "atom", "hx"] and line_num != 0:
113+
elif (
114+
editor_without_args in ["subl", "sublime", "atom", "hx"]
115+
and line_num != 0
116+
):
114117
cmd += f" '{file_path}:{line_num}'"
115118
elif line_num != 0 and os.environ.get("FPP_LINENUM_SEP"):
116119
cmd += f" '{file_path}{os.environ.get('FPP_LINENUM_SEP')}{line_num}'"

0 commit comments

Comments
 (0)