mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 21:30:21 +03:00
Update cli/index.ts
Co-authored-by: Adam Altman <adam@redoc.ly>
This commit is contained in:
parent
3e4a712912
commit
38844f683e
|
@ -455,7 +455,7 @@ function getObjectOrJSON(options) {
|
||||||
default:
|
default:
|
||||||
const configFile = findConfig();
|
const configFile = findConfig();
|
||||||
if (configFile) {
|
if (configFile) {
|
||||||
console.log(`Found ${configFile} and use options from features.openapi`);
|
console.log(`Found ${configFile} and using features.openapi options`);
|
||||||
try {
|
try {
|
||||||
const config = parseYaml(readFileSync(configFile, 'utf-8')) as Config;
|
const config = parseYaml(readFileSync(configFile, 'utf-8')) as Config;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user