Skip to content

Commit 86ca12b

Browse files
authored
Resolve open code scanning alerts (#3755)
1 parent 910efd9 commit 86ca12b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111

1212
jobs:
1313
checks:
14-
uses: ./.github/workflows/shared.yml
14+
uses: $/.github/workflows/shared.yml
1515

1616
all-green:
1717
if: always()

‎.github/workflows/publish-pypi.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
path: dist/
3939

4040
checks:
41-
uses: ./.github/workflows/shared.yml
41+
uses: $/.github/workflows/shared.yml
4242

4343
pypi-publish:
4444
name: Upload release to PyPI

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ repos:
66
hooks:
77
- id: end-of-file-fixer
88

9-
- repo: https://github.com/pre-commit/mirrors-prettier
10-
rev: v3.1.0
9+
- repo: https://github.com/rbubley/mirrors-prettier
10+
rev: v3.9.10
1111
hooks:
1212
- id: prettier
1313
types_or: [yaml, json5]

‎tests/docs_src/test_apps.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ for (const [name, file] of cases) {
1515
const source = readFileSync(path.join(root, file), "utf8");
1616
const html = source.match(/CLOCK_HTML = """([\s\S]*?)"""/)?.[1];
1717
assert.ok(html);
18-
const script = html.match(/<script>([\s\S]*?)<\/script>/)?.[1];
18+
const script = html.match(/<script>([\s\S]*?)<\/script>/i)?.[1];
1919
const result = { content: [{ type: "text", text: "2026-06-26T12:00:00Z" }] };
2020
assert.ok(script);
2121
const clock = { textContent: "..." };

0 commit comments

Comments
 (0)