mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 10:12:34 -05:00
fixing a couple codeql warnings about incomplete string replacement (#24518)
This commit is contained in:
@@ -114,7 +114,7 @@ export async function getUniqueFileName(fileName: string, folderPath?: string):
|
||||
}
|
||||
|
||||
export function escapeClosingBrackets(str: string): string {
|
||||
return str.replace(']', ']]');
|
||||
return str.replace(/]/g, ']]');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user