Skip to content

Commit 940579e

Browse files
fix(chore): fix sonar code smells (#150)
resolves. sonar code smells to improve quality gate GH-128
1 parent a7b47aa commit 940579e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/component.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import {Component, ProviderMap} from '@loopback/core';
2-
32
export class SoftDeleteComponent implements Component {
4-
constructor() {}
5-
63
providers?: ProviderMap = {};
4+
5+
constructor() {
6+
// Initialize the providers property in the constructor
7+
this.providers = {};
8+
}
79
}

0 commit comments

Comments
 (0)