Allow the user to prevent the lookup from raising an exception #220
Annotations
11 errors
Run actions/checkout@v3
repository 'https://github.com/voxpupuli/puppet-vault_lookup/' not found
|
Run rake rubocop:
lib/puppet/functions/vault_lookup/lookup.rb#L6
Layout/IndentationWidth: Use 2 (not 0) spaces for indentation. (https://rubystyle.guide#spaces-indentation)
|
Run rake rubocop:
lib/puppet/functions/vault_lookup/lookup.rb#L74
Layout/ClosingParenthesisIndentation: Align `)` with `(`.
|
Run rake rubocop:
lib/puppet/functions/vault_lookup/lookup.rb#L74
Layout/MultilineMethodDefinitionBraceLayout: Closing method definition brace must be on the same line as the last parameter when opening brace is on the same line as the first parameter.
|
Run rake rubocop:
lib/puppet/functions/vault_lookup/lookup.rb#L88
Layout/RescueEnsureAlignment: `rescue` at 88, 4 is not aligned with `def lookup` at 61, 2.
|
Run rake rubocop:
lib/puppet/functions/vault_lookup/lookup.rb#L89
Layout/EmptyLineAfterGuardClause: Add empty line after guard clause.
|
Run rake rubocop:
lib/puppet/functions/vault_lookup/lookup.rb#L92
Layout/DefEndAlignment: `end` at 92, 4 is not aligned with `def` at 61, 2.
|
Run rake rubocop:
lib/puppet/functions/vault_lookup/lookup.rb#L93
Layout/BlockAlignment: `end` at 93, 2 is not aligned with `Puppet::Functions.create_function(:'vault_lookup::lookup', Puppet::Functions::InternalFunction) do` at 5, 0.
|
Run rake rubocop:
spec/functions/lookup_spec.rb#L31
Style/BlockDelimiters: Avoid using `{...}` for multi-line blocks. (https://rubystyle.guide#single-line-blocks)
|
Run rake rubocop:
spec/functions/lookup_spec.rb#L33
RSpec/BeNil: Prefer `be_nil` over `be(nil)`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeNil)
|
Run rake rubocop
Process completed with exit code 1.
|
Loading