mobbdev 1.0.119 → 1.0.120
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.mjs +9 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7560,13 +7560,15 @@ function getGithubSdk(params = {}) {
|
|
|
7560
7560
|
if (!res?.repository?.object?.blame?.ranges) {
|
|
7561
7561
|
return [];
|
|
7562
7562
|
}
|
|
7563
|
-
return res.repository.object.blame.ranges.map(
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7563
|
+
return res.repository.object.blame.ranges.map(
|
|
7564
|
+
(range) => ({
|
|
7565
|
+
startingLine: range.startingLine,
|
|
7566
|
+
endingLine: range.endingLine,
|
|
7567
|
+
email: range.commit.author.user?.email || "",
|
|
7568
|
+
name: range.commit.author.user?.name || "",
|
|
7569
|
+
login: range.commit.author.user?.login || ""
|
|
7570
|
+
})
|
|
7571
|
+
);
|
|
7570
7572
|
},
|
|
7571
7573
|
// todo: refactor the name for this function
|
|
7572
7574
|
async createPr(params2) {
|