Skip to content

Commit c76ef4c

Browse files
authored
No longer breaks code when removing ads
1 parent 2619f5f commit c76ef4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ads.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Remove ad script block from m1.js
3333
run: |
34-
sed -i '/const blockedHostnames/,/document.body.appendChild(script);/d' static/assets/js/m1.js
34+
sed -i '/const blockedHostnames/,/^\s*}\s*$/d' static/assets/js/m1.js
3535
3636
- name: Commit changes
3737
run: |

0 commit comments

Comments
 (0)