Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

parse': -s/--stdin requires exactly one path... #4

Open
gobijan opened this issue Oct 20, 2020 · 0 comments · May be fixed by #5
Open

parse': -s/--stdin requires exactly one path... #4

gobijan opened this issue Oct 20, 2020 · 0 comments · May be fixed by #5

Comments

@gobijan
Copy link

gobijan commented Oct 20, 2020

Hi, I get this warning.
Probably a regression introduced by new a Rubocop version?

WARNING:SublimeLinter.lint.linter:standardrb output:
/Users/bijan/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/rubocop-0.92.0/lib/rubocop/options.rb:34:in `parse': -s/--stdin requires exactly one path, relative to the root of the project. RuboCop will use this path to determine which cops are enabled (via eg. Include/Exclude), and so that certain cops like Naming/FileName can be checked. (RuboCop::OptionArgumentError)
	from /Users/bijan/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/standard-0.7/lib/standard/merges_settings.rb:10:in `call'
	from /Users/bijan/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/standard-0.7/lib/standard/builds_config.rb:21:in `call'
	from /Users/bijan/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/standard-0.7/lib/standard/cli.rb:16:in `run'
	from /Users/bijan/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/standard-0.7/exe/standardrb:7:in `<top (required)>'
	from /Users/bijan/.rbenv/versions/2.7.2/bin/standardrb:23:in `load'
	from /Users/bijan/.rbenv/versions/2.7.2/bin/standardrb:23:in `<main>'
gobijan added a commit to gobijan/SublimeLinter-contrib-standardrb that referenced this issue Oct 21, 2020
@gobijan gobijan linked a pull request Oct 21, 2020 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant