mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #13848 from Snuffleupagus/rm-lgtm
Remove the LGTM configuration and inline disable comments (issue 13829)
This commit is contained in:
commit
ad90fe90ed
4 changed files with 3 additions and 12 deletions
|
@ -66,7 +66,7 @@ class FileSpec {
|
|||
get filename() {
|
||||
if (!this._filename && this.root) {
|
||||
const filename = pickPlatformItem(this.root) || "unnamed";
|
||||
this._filename = stringToPDFString(filename) // lgtm [js/double-escaping]
|
||||
this._filename = stringToPDFString(filename)
|
||||
.replace(/\\\\/g, "\\")
|
||||
.replace(/\\\//g, "/")
|
||||
.replace(/\\/g, "/");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue