mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-04 23:27:20 +03:00
Fix a CodeQL complaint
This commit is contained in:
parent
32f66ca2b2
commit
3edd15cc28
@ -107,7 +107,7 @@ export class NewCommandFinder {
|
||||
if (result) {
|
||||
let command = result[1]
|
||||
if (result[2]) {
|
||||
command = command.replace(/\*/, '')
|
||||
command = command.replace('*', '')
|
||||
}
|
||||
commands.push(command)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user