azdo-cli 0.24.0-feature-060-pr-comment-anchor.910 → 0.24.0-feature-059-project-operations-guide.920
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4684,7 +4684,10 @@ async function resolvePullRequestTemplate(context, repo, cred, defaultBranch, ta
|
|
|
4684
4684
|
// src/services/thread-anchor.ts
|
|
4685
4685
|
var LINE_END_OFFSET = 1e3;
|
|
4686
4686
|
function normalizeThreadFilePath(raw) {
|
|
4687
|
-
|
|
4687
|
+
if (raw.trim() === "") {
|
|
4688
|
+
return null;
|
|
4689
|
+
}
|
|
4690
|
+
let path5 = raw.replaceAll("\\", "/");
|
|
4688
4691
|
while (path5.startsWith("./")) {
|
|
4689
4692
|
path5 = path5.slice(2);
|
|
4690
4693
|
}
|