Skip to content

Commit 854caff

Browse files
committed
ci: Fix image preload with multiple conflicts
1 parent 4d47644 commit 854caff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
lib/matplotlib/tests/baseline_images \
108108
lib/mpl_toolkits/*/tests/baseline_images)
109109
if [ -n "${conflicts}" ]; then
110-
git checkout --ours -- "${conflicts}"
111-
git add -- "${conflicts}"
110+
git checkout --ours -- ${conflicts}
111+
git add -- ${conflicts}
112112
fi
113113
# If committing fails, there were conflicts other than the baseline images,
114114
# which should not be allowed to happen, and should fail the build.

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ stages:
7979
lib/matplotlib/tests/baseline_images \
8080
lib/mpl_toolkits/*/tests/baseline_images)
8181
if [ -n "${conflicts}" ]; then
82-
git checkout --ours -- "${conflicts}"
83-
git add -- "${conflicts}"
82+
git checkout --ours -- ${conflicts}
83+
git add -- ${conflicts}
8484
fi
8585
# If committing fails, there were conflicts other than the baseline images,
8686
# which should not be allowed to happen, and should fail the build.

0 commit comments

Comments
 (0)