New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove CLI option --json
#2193
Remove CLI option --json
#2193
Conversation
8220ef2
to
ac2cff3
Compare
@@ -265,7 +260,7 @@ function printPending(results, options) { | |||
} | |||
let pendingListString = JSON.stringify(pendingList, null, 2); | |||
|
|||
if (options.json) { | |||
if (options.format === 'json') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bug fix. Previously, --print-pending
only worked with --json
but not --format=json
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CC: @scalvert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extracting the fix to master: #2210
Although it turns out both --json
and --print-pending
will be removed in v4.
See ember-template-lint/ember-template-lint#2193 Co-authored-by: Kevin Suen <ksuen@linkedin.com>
Follow-up to the deprecation of this option in #1907.
Use
--format=json
instead.Part of v4 release (#1908).