Skip to content

Commit c63b233

Browse files
committed
Fix passing --internal-refs flag
1 parent 4c32ed4 commit c63b233

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resolve.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const command = async (file, cmd) => {
1717

1818
const spec = await loader.readOrError(
1919
file,
20-
buildLoaderOptions(jsonSchema, verbose)
20+
buildLoaderOptions(jsonSchema, verbose, internalRefs)
2121
);
2222
const content = yaml.stringify(spec);
2323

@@ -54,6 +54,7 @@ const buildLoaderOptions = (jsonSchema, verbose, internalRefs) => {
5454
};
5555
if (jsonSchema) options.filters.push(fromJsonSchema);
5656
if (internalRefs) options.resolveInternal = true;
57+
5758
return options;
5859
}
5960

0 commit comments

Comments
 (0)