You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If openapi-merge-cli encounters an exception, I expect the command to exit with a non-zero status code to indicate that the command failed.
╭ ~/w/d (master =)
╰ → npx openapi-merge-cli
## /opt/homebrew/Cellar/node/19.4.0/bin/node: Running v1.3.1 (+0ms)## Loaded the configuration: 11 inputs (+30ms)
An uncaught exception was thrown TypeError: Cannot use 'in' operator to search for'$ref'in null
at Object.isReference (/Users/zacharyw/work/docs-network/node_modules/atlassian-openapi/lib/type-checks.js:85:48)
at compare (/Users/zacharyw/work/docs-network/node_modules/openapi-merge/dist/component-equivalence.js:63:51)
at /Users/zacharyw/work/docs-network/node_modules/openapi-merge/dist/component-equivalence.js:80:39
at Array.every (<anonymous>)
at compare (/Users/zacharyw/work/docs-network/node_modules/openapi-merge/dist/component-equivalence.js:80:26)
at /Users/zacharyw/work/docs-network/node_modules/openapi-merge/dist/component-equivalence.js:80:39
at Array.every (<anonymous>)
at compare (/Users/zacharyw/work/docs-network/node_modules/openapi-merge/dist/component-equivalence.js:80:26)
at /Users/zacharyw/work/docs-network/node_modules/openapi-merge/dist/component-equivalence.js:80:39
at Array.every (<anonymous>)
╭ ~/w/d (master =)
╰ → echo$?
0
The text was updated successfully, but these errors were encountered:
If
openapi-merge-cli
encounters an exception, I expect the command to exit with a non-zero status code to indicate that the command failed.The text was updated successfully, but these errors were encountered: