@socketsecurity/cli-with-sentry 0.15.35 → 0.15.37
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/cli.js +10 -6
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -3703,11 +3703,11 @@ function createSocketBranchParser(options) {
|
|
|
3703
3703
|
return null;
|
|
3704
3704
|
}
|
|
3705
3705
|
const {
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3706
|
+
1: type,
|
|
3707
|
+
2: workspace,
|
|
3708
|
+
3: fullName,
|
|
3709
|
+
4: version,
|
|
3710
|
+
5: newVersion
|
|
3711
3711
|
} = match;
|
|
3712
3712
|
return {
|
|
3713
3713
|
newVersion,
|
|
@@ -4100,6 +4100,8 @@ async function getOpenSocketPrsWithContext(owner, repo, options_) {
|
|
|
4100
4100
|
const login = node.author?.login;
|
|
4101
4101
|
const matchesAuthor = checkAuthor ? login === author : true;
|
|
4102
4102
|
const matchesBranch = prBranchParser(node.headRefName);
|
|
4103
|
+
debug.debugFn('gql node.headRefName', node.headRefName);
|
|
4104
|
+
debug.debugFn('qgl matchesBranch', matchesBranch);
|
|
4103
4105
|
if (matchesAuthor && matchesBranch) {
|
|
4104
4106
|
contextualMatches.push({
|
|
4105
4107
|
context: {
|
|
@@ -4144,6 +4146,8 @@ async function getOpenSocketPrsWithContext(owner, repo, options_) {
|
|
|
4144
4146
|
const login = pr.user?.login;
|
|
4145
4147
|
const matchesAuthor = checkAuthor ? login === author : true;
|
|
4146
4148
|
const matchesBranch = prBranchParser(pr.head.ref);
|
|
4149
|
+
debug.debugFn('octa node.headRefName', pr.head.ref);
|
|
4150
|
+
debug.debugFn('octa matchesBranch', matchesBranch);
|
|
4147
4151
|
if (matchesAuthor && matchesBranch) {
|
|
4148
4152
|
contextualMatches.push({
|
|
4149
4153
|
context: {
|
|
@@ -13676,5 +13680,5 @@ void (async () => {
|
|
|
13676
13680
|
await utils.captureException(e);
|
|
13677
13681
|
}
|
|
13678
13682
|
})();
|
|
13679
|
-
//# debugId=
|
|
13683
|
+
//# debugId=8ad31346-4e7a-47ed-a7fc-67c4e43a1ce
|
|
13680
13684
|
//# sourceMappingURL=cli.js.map
|