Simplify app store rule cleaning

This commit is contained in:
altrisi committed 2023-03-08 16:41:43 +01:00
1 parent 883d887e11
commit 13882146fc
1 file changed
+1 -1
+1 -1
View File
@@ -232,7 +232,7 @@ public class Carpet
} }
if (newValue.endsWith("/")) if (newValue.endsWith("/"))
{ {
newValue = newValue.replaceAll("/$", ""); newValue = newValue.substring(0, newValue.length() - 1);
} }
AppStoreManager.setScarpetRepoLink("https://api.github.com/repos/" + newValue + "/"); AppStoreManager.setScarpetRepoLink("https://api.github.com/repos/" + newValue + "/");
return newValue; return newValue;