mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
apply eslint and prettier rules
This commit is contained in:
@@ -8,7 +8,7 @@ export function getProtocolLinkByType(repository: Repository, type: string) {
|
||||
if (!Array.isArray(protocols)) {
|
||||
protocols = [protocols];
|
||||
}
|
||||
for (let proto of protocols) {
|
||||
for (const proto of protocols) {
|
||||
if (proto.name === type) {
|
||||
return proto.href;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user