@firestartr/cli 1.41.1-snapshot-1 → 1.41.1-snapshot-3

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/build/index.js CHANGED
@@ -284049,6 +284049,10 @@ async function downloadFeatureZip(repo, featureName, version, owner = 'prefapp')
284049
284049
  try {
284050
284050
  const ref = `${featureName}-v${version}`;
284051
284051
  const octokit = await github_0.getOctokitForOrg(owner);
284052
+ const zipballExtractPath = catalog_common.features.tarballs.getFeaturesExtractPath(featureName, version, { createIfNotExists: true });
284053
+ if (external_fs_.existsSync(zipballExtractPath)) {
284054
+ external_fs_.unlinkSync(zipballExtractPath);
284055
+ }
284052
284056
  const response = await octokit.request('GET /repos/{owner}/{repo}/zipball/{ref}', {
284053
284057
  request: {
284054
284058
  parseSuccessResponseBody: false,
@@ -284057,7 +284061,6 @@ async function downloadFeatureZip(repo, featureName, version, owner = 'prefapp')
284057
284061
  repo,
284058
284062
  ref,
284059
284063
  });
284060
- const zipballExtractPath = catalog_common.features.tarballs.getFeaturesExtractPath(featureName, version, { createIfNotExists: true });
284061
284064
  const randomZipTmpPath = `/tmp/${catalog_common.generic.randomString(20)}.zip`;
284062
284065
  if (external_fs_.existsSync(randomZipTmpPath)) {
284063
284066
  external_fs_.unlinkSync(randomZipTmpPath);
@@ -428,7 +428,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
428
428
  verified_at: string;
429
429
  };
430
430
  };
431
- author: Record<string, never> | {
431
+ author: {
432
432
  name?: string;
433
433
  email?: string;
434
434
  login: string;
@@ -451,8 +451,8 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
451
451
  site_admin: boolean;
452
452
  starred_at?: string;
453
453
  user_view_type?: string;
454
- };
455
- committer: Record<string, never> | {
454
+ } | Record<string, never>;
455
+ committer: {
456
456
  name?: string;
457
457
  email?: string;
458
458
  login: string;
@@ -475,7 +475,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
475
475
  site_admin: boolean;
476
476
  starred_at?: string;
477
477
  user_view_type?: string;
478
- };
478
+ } | Record<string, never>;
479
479
  parents: {
480
480
  sha: string;
481
481
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.41.1-snapshot-1",
3
+ "version": "1.41.1-snapshot-3",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",