Skip to content

Commit 3ac6ef0

Browse files
committed
remove console logs
1 parent 830b7d0 commit 3ac6ef0

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

force-app/main/default/lwc/flowOverview/flowOverview.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ export default class FlowOverview extends NavigationMixin(LightningElement) {
8686

8787
connectedCallback() {
8888
loadStyle(this, datatableHeaderStyles)
89-
.then(() => {
90-
console.log("Datatable header styles loaded successfully");
91-
})
9289
.catch((error) => {
9390
console.error("Error loading datatable header styles:", error);
9491
this.err = "Failed to load custom styles for datatable headers.";

force-app/main/default/lwc/lightningFlowScanner/lightningFlowScanner.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,7 @@ <h2 class="slds-text-heading_small slds-truncate">All Results</h2>
163163
</template>
164164
</lightning-card>
165165
</template>
166-
167-
168-
169-
170166
</div>
171-
172167
</template>
173168

174169
<!-- Footer -->
@@ -190,6 +185,5 @@ <h2 class="slds-text-heading_small slds-truncate">All Results</h2>
190185
</div>
191186
</template>
192187
</div>
193-
194188
</div>
195189
</template>

force-app/main/default/lwc/lightningFlowScanner/lightningFlowScanner.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export default class LightningFlowScanner extends LightningElement {
1515

1616
get isAllMode() {
1717
const result = !!this.allScanResults && this.allScanResults.length > 0;
18-
console.log("isAllMode:", result, "allScanResults:", this.allScanResults);
1918
return result;
2019
}
2120

@@ -32,10 +31,6 @@ export default class LightningFlowScanner extends LightningElement {
3231
let violations = [];
3332
// ALL-FLOWS mode: flatten allScanResults (existing behavior)
3433
if (this.isAllMode) {
35-
console.log(
36-
"Flattening violations from allScanResults:",
37-
this.allScanResults
38-
);
3934
this.allScanResults.forEach((item, itemIndex) => {
4035
const flowName = item.flowName;
4136
if (item.scanResult && item.scanResult.ruleResults) {
@@ -63,7 +58,6 @@ export default class LightningFlowScanner extends LightningElement {
6358
});
6459
}
6560
});
66-
console.log("Total violations flattened (all):", violations.length);
6761
return violations;
6862
}
6963
// SINGLE-FLOW mode: flatten scanResult for the selected flow
@@ -75,10 +69,6 @@ export default class LightningFlowScanner extends LightningElement {
7569
(this.selectedFlowRecord.masterLabel ||
7670
this.selectedFlowRecord.developerName)) ||
7771
"";
78-
console.log(
79-
"Flattening violations from single scanResult for flow:",
80-
flowName
81-
);
8272
this.scanResult.ruleResults.forEach((rule, ruleIndex) => {
8373
if (rule.details) {
8474
rule.details.forEach((detail, detailIndex) => {
@@ -99,7 +89,6 @@ export default class LightningFlowScanner extends LightningElement {
9989
});
10090
}
10191
});
102-
console.log("Total violations flattened (single):", violations.length);
10392
}
10493
return violations;
10594
}

0 commit comments

Comments
 (0)