cap-js / cds-typer

CDS type generator for JavaScript
Apache License 2.0
29 stars 10 forks source link

Use full file path for package.json #400

Closed daogrady closed 3 days ago

daogrady commented 3 days ago

Finding a package.json in a parent directory (mono repo scenario) would still try to open package.json in the CWD, which would then fail. This fix now prepends the directory the file was found in, making it an absolute path instead.