mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Fix some no unsafe assignment errors in azurecore (#22643)
This commit is contained in:
@@ -98,6 +98,7 @@ function sanitize(objOrArray: any): string {
|
||||
}
|
||||
|
||||
function sanitizeImpl(obj: any): string {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||
obj = Object.assign({}, obj);
|
||||
delete obj.domains; // very long and not really useful
|
||||
// shorten all tokens since we don't usually need the exact values and there's security concerns if they leaked
|
||||
|
||||
Reference in New Issue
Block a user