Commit c22dc18
fix(frontend,workflow): address Copilot review comments on PR #218
- Create-Release..yml: drop misleading ref override on push trigger
(github.event.workflow_run.head_sha is empty on push events; let
actions/checkout default to the pushed SHA)
- batchView.tsx: register SQL language for the Light SyntaxHighlighter
so getFileLanguageAndType()='sql' renders correctly
- modernizationPage.tsx: register SQL language for the Light
SyntaxHighlighter so translated SQL is highlighted instead of
potentially erroring on the unregistered language
- processPage.tsx: fix comment typo (missing space before hyphen)
- package.json: declare highlight.js as a direct dependency since the
Light highlighter imports highlight.js/lib/languages/* directly;
pinned to ^10.7.3 to match the version already resolved transitively
via react-syntax-highlighter
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7361f42 commit c22dc18
6 files changed
Lines changed: 9 additions & 3 deletions
File tree
- .github/workflows
- src/frontend
- src/pages
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments