@osdk/foundry-sdk-generator 1.3.4 → 1.3.6

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.
@@ -1 +1 @@
1
- {"version":3,"file":"foundrySdkGeneratorCli.d.ts","sourceRoot":"","sources":["../../../src/cli/foundrySdkGeneratorCli.ts"],"names":[],"mappings":"AAqBA,wBAAsB,GAAG,CAAC,IAAI,GAAE,MAAM,EAAiB;;;;eAuCtD"}
1
+ {"version":3,"file":"foundrySdkGeneratorCli.d.ts","sourceRoot":"","sources":["../../../src/cli/foundrySdkGeneratorCli.ts"],"names":[],"mappings":"AAqBA,wBAAsB,GAAG,CAAC,IAAI,GAAE,MAAM,EAAiB;;;;eAgDtD"}
@@ -586,7 +586,7 @@ function isValidSemver(semverString) {
586
586
  }
587
587
 
588
588
  // src/utils/UserAgent.ts
589
- var USER_AGENT = `typescript-sdk-generator/${"1.3.4"}`;
589
+ var USER_AGENT = `typescript-sdk-generator/${"1.3.6"}`;
590
590
  async function createRollupBuild(absolutePackagePath, packageName) {
591
591
  const inputPath = `${absolutePackagePath}/${packageName}/index.js`;
592
592
  const {
@@ -1397,7 +1397,14 @@ async function cli(args = process.argv) {
1397
1397
  } = await import('@osdk/main-foundry-sdk-generator');
1398
1398
  await cli2(args);
1399
1399
  } else {
1400
- await createBase().parseAsync(helpers.hideBin(args));
1400
+ if (err) {
1401
+ console.error(output);
1402
+ console.error(err);
1403
+ process.exit(1);
1404
+ } else {
1405
+ console.log(output);
1406
+ process.exit(0);
1407
+ }
1401
1408
  }
1402
1409
  });
1403
1410
  } catch (e) {