mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
This reverts commit 83cd5d9b2f
.
This commit is contained in:
parent
f58aa8cd5b
commit
90a160e83f
3 changed files with 3 additions and 16 deletions
|
@ -19,8 +19,3 @@ export function getValidEditorTypes(
|
|||
? _.intersection(...endpointTypes.map((type) => right[type]))
|
||||
: [EditorType.Compose, EditorType.Kubernetes];
|
||||
}
|
||||
|
||||
export function removeTrailingGitExtension(url: string) {
|
||||
// the url could have the .git extension. Remove it if it does.
|
||||
return url.replace(/\.git$/, '');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue