@davmash/bygone 0.11.0 → 0.11.1

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/out/changeTour.js CHANGED
@@ -3878,7 +3878,7 @@ var DEFAULT_MAX_TOTAL_PATCH_BYTES = 2 * 1024 * 1024;
3878
3878
  var MAX_CAPTURE_BYTES = 8 * 1024 * 1024;
3879
3879
  var MAX_SYMBOL_SOURCE_BYTES = 1024 * 1024;
3880
3880
  function buildChangeTourContext(startPath, options = {}) {
3881
- const range = resolveBranchReviewRange(startPath, options.headRef, options.baseRef);
3881
+ const range = options.range ?? resolveBranchReviewRange(startPath, options.headRef, options.baseRef);
3882
3882
  const maxPatchBytes = options.maxPatchBytes ?? DEFAULT_MAX_PATCH_BYTES;
3883
3883
  const maxTotalPatchBytes = options.maxTotalPatchBytes ?? DEFAULT_MAX_TOTAL_PATCH_BYTES;
3884
3884
  requirePositiveInteger2(maxPatchBytes, "maxPatchBytes");