chore: implemented a O(n) unique and added unit tests (#4429)
This commit is contained in:
@ -125,7 +125,7 @@ export class KclManager {
|
||||
if (this.lints.length > 0) {
|
||||
diagnostics = diagnostics.concat(this.lints)
|
||||
}
|
||||
editorManager.setDiagnostics(diagnostics)
|
||||
editorManager?.setDiagnostics(diagnostics)
|
||||
}
|
||||
|
||||
addKclErrors(kclErrors: KCLError[]) {
|
||||
|
Reference in New Issue
Block a user