mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-05-01 20:27:39 -05:00
Fix trailing comma (#247)
* added .prettierrc.json * modified: .gitignore * yarn run format * fix check format workflow
This commit is contained in:
@@ -187,7 +187,7 @@ function cleanFilename(name) {
|
||||
];
|
||||
var regExp = new RegExp(
|
||||
"(_|[^\\w\\d]|^)(" + blockList.join("|") + ")(_|[^\\w\\d]|$)",
|
||||
"i",
|
||||
"i"
|
||||
);
|
||||
while (regExp.test(name)) {
|
||||
name = name.replace(regExp, "$1$3");
|
||||
|
||||
Reference in New Issue
Block a user