From 63894f248d68de914432eead9442a2664761b1d5 Mon Sep 17 00:00:00 2001 From: David Russell Date: Thu, 1 Jun 2017 07:34:20 +0000 Subject: [PATCH] Fixed relative path handling within CodeService. --- app/com/gitpitch/services/CodeService.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/com/gitpitch/services/CodeService.java b/app/com/gitpitch/services/CodeService.java index aa349d9..0018fac 100644 --- a/app/com/gitpitch/services/CodeService.java +++ b/app/com/gitpitch/services/CodeService.java @@ -96,12 +96,6 @@ public class CodeService { String delim = mdm.extractCodeDelim(md); codePath = md.substring(delim.length()); - if (!mdm.linkAbsolute(codePath)) { - codePath = - new StringBuffer(gitRawBase).append(codePath) - .toString(); - } - } catch (Exception pex) { log.warn("extractCodePath: ex={}", pex); }