@kubb/cli 2.18.8 → 2.19.0

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.
@@ -5570,11 +5570,11 @@ async function generate({ input, config, args: args2 }) {
5570
5570
  });
5571
5571
  performanceOpserver.observe({ type: "measure" });
5572
5572
  }
5573
- const { root: _root, ...userConfig } = config;
5573
+ const { root = process.cwd(), ...userConfig } = config;
5574
5574
  const inputPath = _nullishCoalesce(input, () => ( ("path" in userConfig.input ? userConfig.input.path : void 0)));
5575
5575
  spinner.start(`\u{1F680} Building ${logLevel !== "silent" ? p2.dim(inputPath) : ""}`);
5576
5576
  const definedConfig = {
5577
- root: process.cwd(),
5577
+ root,
5578
5578
  ...userConfig,
5579
5579
  input: inputPath ? {
5580
5580
  ...userConfig.input,
@@ -5708,4 +5708,4 @@ var generate_default = command;
5708
5708
 
5709
5709
 
5710
5710
  exports.default = generate_default;
5711
- //# sourceMappingURL=generate-4YVU7UQV.cjs.map
5711
+ //# sourceMappingURL=generate-ESIAX72W.cjs.map