@codama/renderers-js 1.5.3 → 1.5.4

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.
@@ -406,7 +406,8 @@ async function formatCode(renderMap, options) {
406
406
  }
407
407
  async function resolvePrettierOptions(packageFolder) {
408
408
  if (!packageFolder) return null;
409
- return await resolveConfig(packageFolder);
409
+ const filePathToResolve = joinPath(packageFolder, "package.json");
410
+ return await resolveConfig(filePathToResolve);
410
411
  }
411
412
  function getImportFromFactory(overrides, customAccountData, customInstructionData) {
412
413
  const customDataOverrides = Object.fromEntries(