Skip to content

Commit 0c65a24

Browse files
Merge pull request #1555 from forcedotcom/sc/W-16357846
FIX (html): @W-16357846@: Fix html syntax issues
2 parents 8480ab3 + f26eaee commit 0c65a24

File tree

8 files changed

+14
-5
lines changed

8 files changed

+14
-5
lines changed

.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
},
1414
"plugins": [
1515
"@typescript-eslint"
16-
]
16+
],
17+
"rules": {
18+
"sf-plugin/only-extend-SfCommand": "off"
19+
}
1720
}

.github/workflows/create-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
git checkout -b release-$NEW_VERSION
146146
git push --set-upstream origin release-$NEW_VERSION
147147
# Now that we're done with the interim branch, delete it.
148-
git push -d ${NEW_VERSION}-interim
148+
git push -d origin ${NEW_VERSION}-interim
149149
# Output the release branch name so we can use it in later jobs.
150150
echo "branch_name=release-$NEW_VERSION" >> "$GITHUB_OUTPUT"
151151
# Run all the various tests against the newly created branch.

html-templates/simple.mustache

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<script type="text/javascript" language="javascript"
6666
src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>
6767
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/rowgroup/1.1.2/js/dataTables.rowGroup.min.js"></script>
68-
<script type="text/javascript" language="javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script>
68+
<script type="text/javascript" language="javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script>
6969
<script type="text/javascript" class="init">
7070
7171
// BEGIN - Placeholders filled in by the scanner
@@ -294,11 +294,12 @@
294294
});
295295
});
296296
</script>
297+
<title>Salesforce Code Analyzer Report</title>
297298
</head>
298299

299300
<body>
300301
<h1 id="reportTitle">Salesforce Code Analyzer Report</h1>
301-
<div id="summaryChart"/></div>
302+
<div id="summaryChart"></div>
302303
<h4 id="summaryFiles"></h4>
303304
<h4 id="summaryViolations"></h4>
304305
<div class="fw-container">
@@ -319,7 +320,7 @@
319320
<th>End Column</th>
320321
</tr>
321322
</thead>
322-
<tbody/>
323+
<tbody></tbody>
323324
</table>
324325
</div>
325326
</div>

src/commands/scanner/rule/add.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default class Add extends ScannerCommand {
2020
// This defines the flags accepted by this command. The key is the longname, the char property is the shortname,
2121
// and summary and description is what's printed when the -h/--help flag is supplied.
2222
public static readonly flags = {
23+
...ScannerCommand.flags,
2324
language: Flags.string({
2425
char: 'l',
2526
summary: getMessage(BundleName.Add, 'flags.languageSummary'),

src/commands/scanner/rule/describe.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export default class Describe extends ScannerCommand {
1919
// This defines the flags accepted by this command. The key is the longname, the char property is the shortname,
2020
// and summary and description is what's printed when the -h/--help flag is supplied.
2121
public static readonly flags = {
22+
...ScannerCommand.flags,
2223
rulename: Flags.string({
2324
char: 'n',
2425
summary: getMessage(BundleName.Describe, 'flags.rulenameSummary'),

src/commands/scanner/rule/list.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default class List extends ScannerCommand {
2222
// This defines the flags accepted by this command. The key is the longname, the char property is the shortname,
2323
// and summary and description is what's printed when the -h/--help flag is supplied.
2424
public static readonly flags = {
25+
...ScannerCommand.flags,
2526
verbose: Flags.boolean({
2627
summary: getMessage(BundleName.Common, 'flags.verboseSummary')
2728
}),

src/commands/scanner/rule/remove.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default class Remove extends ScannerCommand {
2121
// This defines the flags accepted by this command. The key is the longname, the char property is the shortname,
2222
// and summary and description is what's printed when the -h/--help flag is supplied.
2323
public static readonly flags = {
24+
...ScannerCommand.flags,
2425
verbose: Flags.boolean({
2526
summary: getMessage(BundleName.Common, 'flags.verboseSummary')
2627
}),

src/lib/ScannerRunCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export abstract class ScannerRunCommand extends ScannerCommand {
99
* here to avoid duplicate code.
1010
*/
1111
public static readonly flags = {
12+
...ScannerCommand.flags,
1213
verbose: Flags.boolean({
1314
summary: getMessage(BundleName.Common, 'flags.verboseSummary')
1415
}),

0 commit comments

Comments
 (0)