Simplify app store rule cleaning
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user