From e4cf8dac7882d542b5bea16362b0ed5ee91e327c Mon Sep 17 00:00:00 2001 From: Karl-Philipp Wulfert Date: Tue, 5 Feb 2019 15:44:58 +0100 Subject: [PATCH] refactor: remove unused method --- src/api.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/api.ts b/src/api.ts index 5debb68d..b86cb0d0 100644 --- a/src/api.ts +++ b/src/api.ts @@ -85,17 +85,6 @@ export class Api { */ private readonly rootUrl: string; - /** - * Get project path from issue - * - * @param issue Issue to get project from - */ - static getProjectPath(issue: any): string { - const issuePath = issue.web_url.replace('https://gitlab.tubit.tu-berlin.de/', ''); - - return issuePath.substring(0, issuePath.indexOf('/issues/')); - } - /** * Instantiate new GitLab API *