@gearbox-protocol/deploy-tools 1.6.0-next.3 → 1.6.0-next.5

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -200247,8 +200247,7 @@ var require_git = __commonJS({
200247
200247
  "router-v3",
200248
200248
  "router"
200249
200249
  ];
200250
- function getGithubUrl(repo) {
200251
- const https = !!process.env.GITHUB_HTTPS;
200250
+ function getGithubUrl(repo, https = false) {
200252
200251
  const path = repo.replace(/^@/, "").replace(/\/$/, "");
200253
200252
  return https ? `https://github.com/${path}.git` : `git@github.com:${path}.git`;
200254
200253
  }
@@ -205857,8 +205856,6 @@ var require_Auditor = __commonJS({
205857
205856
  _checkoutAudit = new WeakSet();
205858
205857
  checkoutAudit_fn = async function(repo, audit) {
205859
205858
  const committish = audit.type === "commit" ? audit.commit : audit.branch;
205860
- const dest = node_path_1.default.resolve(__privateGet(this, _sandboxDir), repo, committish);
205861
- (0, node_fs_1.mkdirSync)(dest, { recursive: true });
205862
205859
  try {
205863
205860
  await (0, git_1.cloneRepo)({
205864
205861
  repo: `@gearbox-protocol/${repo}`,
@@ -205867,7 +205864,7 @@ var require_Auditor = __commonJS({
205867
205864
  destDir: node_path_1.default.join(repo, committish),
205868
205865
  disablePull: __privateGet(this, _cachePolicy) === "only"
205869
205866
  });
205870
- __privateGet(this, _logger).debug(`Checked out ${repo}@${committish} to ${dest}`);
205867
+ __privateGet(this, _logger).debug(`Checked out ${repo}@${committish}`);
205871
205868
  } catch (e) {
205872
205869
  __privateGet(this, _logger).warn(`failed to check out ${repo}@${committish}: ${e}`);
205873
205870
  }
@@ -219550,7 +219547,7 @@ var require_CliRenderer = __commonJS({
219550
219547
  console.log(`use ${chalk_1.default.cyan("arrows")} for navigation, ${(0, chalk_1.default)("a")} to print all and exit, ${chalk_1.default.cyan("ESC")} to exit`);
219551
219548
  }
219552
219549
  const { safeTxHash, batchFile, actions } = tx;
219553
- const prefix = total > 1 ? ` ${i}/${total}` : "";
219550
+ const prefix = total > 1 ? ` ${i + 1}/${total}` : "";
219554
219551
  if (safeTxHash) {
219555
219552
  console.log(`Safe tx${prefix} ${chalk_1.default.green(safeTxHash)}:`);
219556
219553
  }
@@ -365170,7 +365167,7 @@ var require_package3 = __commonJS({
365170
365167
  module2.exports = {
365171
365168
  name: "@gearbox-protocol/deploy-tools",
365172
365169
  description: "Gearbox deploy tools",
365173
- version: "1.6.0-next.2",
365170
+ version: "1.6.0-next.4",
365174
365171
  homepage: "https://gearbox.fi",
365175
365172
  keywords: [
365176
365173
  "gearbox"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "1.6.0-next.3",
4
+ "version": "1.6.0-next.5",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"