mirror of
https://github.com/gitpitch/gitpitch.git
synced 2024-04-18 07:30:55 +08:00
Fixed relative path handling within CodeService.
This commit is contained in:
parent
549d8e9869
commit
63894f248d
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user