mobbdev 1.0.39 → 1.0.41
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 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6444,8 +6444,17 @@ function getOctoKit(options) {
|
|
|
6444
6444
|
...options,
|
|
6445
6445
|
auth: token,
|
|
6446
6446
|
baseUrl,
|
|
6447
|
+
//GITHUB_API_TOKEN is only defined in the backend and not when running Bugsy as CLI. We want to enable these debug logs in the backend
|
|
6448
|
+
//to debug the performance of these API calls.
|
|
6449
|
+
log: GITHUB_API_TOKEN ? console : void 0,
|
|
6447
6450
|
request: {
|
|
6448
6451
|
fetch: getFetch(baseUrl)
|
|
6452
|
+
},
|
|
6453
|
+
retry: {
|
|
6454
|
+
enabled: false
|
|
6455
|
+
},
|
|
6456
|
+
throttle: {
|
|
6457
|
+
enabled: false
|
|
6449
6458
|
}
|
|
6450
6459
|
});
|
|
6451
6460
|
}
|