scratch-storage 2.0.0 → 2.0.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.
@@ -4586,8 +4586,10 @@ var PrivateFetchWorkerTool = /*#__PURE__*/function () {
4586
4586
  resolve: resolve,
4587
4587
  reject: reject
4588
4588
  };
4589
- }).then(function (body) {
4590
- return new Uint8Array(body);
4589
+ })
4590
+ /* eslint no-confusing-arrow: ["error", {"allowParens": true}] */
4591
+ .then(function (body) {
4592
+ return body ? new Uint8Array(body) : null;
4591
4593
  });
4592
4594
  }
4593
4595
  /**