File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
build :
11
11
name : Build
12
- runs-on : ubuntu-20 .04
12
+ runs-on : ubuntu-22 .04
13
13
env :
14
14
IMAGE_NAME : whatwg/html-build
15
15
steps :
16
16
- name : Checkout whatwg/html-build
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v3
18
18
with :
19
19
fetch-depth : 0
20
20
- name : Shellcheck
24
24
- name : Docker build
25
25
run : ci-build/docker-build.sh
26
26
- name : Checkout whatwg/html
27
- uses : actions/checkout@v2
27
+ uses : actions/checkout@v3
28
28
with :
29
29
repository : whatwg/html
30
30
path : html
Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ function relativePath {
403
403
local commonPart=$source
404
404
local result=" "
405
405
406
- while [[ " ${target# $commonPart } " == " ${target} " ]]; do
406
+ while [[ " ${target# " $commonPart " } " == " ${target} " ]]; do
407
407
# no match, means that candidate common part is not correct
408
408
# go up one level (reduce common part)
409
409
commonPart=$( dirname " $commonPart " )
@@ -422,7 +422,7 @@ function relativePath {
422
422
423
423
# since we now have identified the common part,
424
424
# compute the non-common part
425
- local forwardPart=" ${target# $commonPart } "
425
+ local forwardPart=" ${target# " $commonPart " } "
426
426
427
427
# and now stick all parts together
428
428
if [[ $result != " " ]] && [[ $forwardPart != " " ]]; then
You can’t perform that action at this time.
0 commit comments