Merge pull request #1198 from AleksanderCherepenin/dev/v-alcherepen/1158553-linking-reference-failure

Fixed linking reference failure
This commit is contained in:
Matteo Taveggia
2023-09-07 20:23:40 -07:00
committed by GitHub
@@ -934,7 +934,10 @@ End Sub
'Helper function to link snk reference with relative paths
Function GetSnkPathRef(srcPath As String) As String
Dim snkPath = srcPath.Remove(0, srcSiteUrl.LastIndexOf("/"))
Dim snkPath = srcPath
If srcSiteUrl isNot Nothing
snkPath = srcPath.Remove(0, srcSiteUrl.LastIndexOf("/"))
End If
Return snkPath
End Function