-
Notifications
You must be signed in to change notification settings - Fork 39
Skip all config when use with --gen-config. #363
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
Conversation
spec/ameba/cli/cmd_spec.cr
Outdated
@@ -47,6 +47,11 @@ module Ameba::Cli | |||
c.rules?.should eq false | |||
end | |||
|
|||
it "defaults skip_reading_config? flag to false" do | |||
c = Cli.parse_args %w(file.cr) | |||
c.skip_reading_config?.should eq false |
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.
c.skip_reading_config?.should eq false | |
c.skip_reading_config?.should be_false |
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.
Replace all occurs of eq false
to be_false
, don't know if it's appropriate.
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.
LGTM
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.
Couple of comments and it's GTG
No description provided.