Commit 576863c
committed
ci(manage-visual-tests): prevent reporting if no components are impacted
The previous check was mixing strings & numbers for comparison, which
resulted in:
".github/workflows/manage-visual-tests.yml (Line: 213, Col: 13):
Conditional expression contains literal text outside replacement tokens.
This will cause the expression to always evaluate to truthy.
Did you mean to put the entire expression inside ${{ }}?"
This fix makes sure we compare strings and avoid relying on
automatic coercion from GitHub.1 parent e65ef36 commit 576863c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
0 commit comments