Skip to content

Commit

Permalink
Fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuillam committed Sep 16, 2024
1 parent 6d5cac8 commit c532a8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions defaults/ci/.github/workflows/megalinter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: Mega-Linter reports
include-hidden-files: true
path: |
megalinter-reports
mega-linter.log
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/sfdx-hardis-json-schema-parameters.html
Original file line number Diff line number Diff line change
Expand Up @@ -5785,6 +5785,6 @@ <h2 class="mb-0">
</div>

<footer>
<p class="generated-by-footer">Generated using <a href="https://github.com/coveooss/json-schema-for-humans">json-schema-for-humans</a> on 2024-09-16 at 12:47:15 -0700</p>
<p class="generated-by-footer">Generated using <a href="https://github.com/coveooss/json-schema-for-humans">json-schema-for-humans</a> on 2024-09-16 at 12:59:13 -0700</p>
</footer></body>
</html>
4 changes: 2 additions & 2 deletions src/common/utils/orgConfigUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ export async function checkSfdxHardisTraceAvailable(conn: Connection) {
let traceObject: DescribeSObjectResult;
try {
traceObject = await conn.sobject("SfdxHardisTrace__c").describe();
} catch (e) {
throw new SfError("You need a Custom Setting of type List (activate throug Schema Settings), named SfdxHardisTrace__c, with Type__c and Key__c fields (both string, length 80)");
} catch (e: any) {
throw new SfError("You need a Custom Setting of type List (activate throug Schema Settings), named SfdxHardisTrace__c, with Type__c and Key__c fields (both string, length 80)\n" + e.message);
}
const traceObjectFields = traceObject.fields;
if (traceObjectFields.filter(field => field.name === "Type__c").length === 0) {
Expand Down

0 comments on commit c532a8f

Please sign in to comment.