diff --git a/.github/workflows/check-branch.yaml b/.github/workflows/check-branch.yaml deleted file mode 100644 index 50aaa0b..0000000 --- a/.github/workflows/check-branch.yaml +++ /dev/null @@ -1,6 +0,0 @@ -# Run tests on pushes to all branches. -name: Check Branch -on: [push] -jobs: - test: - uses: ./.github/workflows/test.yaml diff --git a/.github/workflows/check-main.yaml b/.github/workflows/check-main.yaml new file mode 100644 index 0000000..73fb538 --- /dev/null +++ b/.github/workflows/check-main.yaml @@ -0,0 +1,8 @@ +# Run tests on pushes to main branch. +name: Check Main +on: + push: + branches: [main] +jobs: + test: + uses: ./.github/workflows/test.yaml diff --git a/.github/workflows/check-pull-request.yaml b/.github/workflows/check-pull-request.yaml new file mode 100644 index 0000000..60cc014 --- /dev/null +++ b/.github/workflows/check-pull-request.yaml @@ -0,0 +1,7 @@ +# Run tests on pull requests, including from forks. +name: Check Pull Request +on: + pull_request +jobs: + test: + uses: ./.github/workflows/test.yaml diff --git a/ts/x-template.d.ts.map b/ts/x-template.d.ts.map index 23a0e3d..37807d5 100644 --- a/ts/x-template.d.ts.map +++ b/ts/x-template.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"x-template.d.ts","sourceRoot":"","sources":["../x-template.js"],"names":[],"mappings":"AAm4BA,yBAA2E;AAC3E,uBAAuE;AAGvE,4BAAiF;AACjF,yBAA2E"} \ No newline at end of file +{"version":3,"file":"x-template.d.ts","sourceRoot":"","sources":["../x-template.js"],"names":[],"mappings":"AA+3BA,yBAA2E;AAC3E,uBAAuE;AAGvE,4BAAiF;AACjF,yBAA2E"} \ No newline at end of file diff --git a/x-template.js b/x-template.js index ee71822..94bc168 100644 --- a/x-template.js +++ b/x-template.js @@ -808,7 +808,7 @@ class TemplateEngine { // } // } static #removeWithin(node) { - node.replaceChildren() + node.replaceChildren(); } // TODO: Future state — we may choose to iterate differently as an