PC-50: Item model and ItemPricing model integration #287
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
9 errors and 3 warnings
|
lint:
app/admin/items.rb#L197
Rails/Blank: Use `if tmp.blank?` instead of `unless tmp.present?`.
|
|
lint:
app/models/category.rb#L3
Layout/TrailingWhitespace: Trailing whitespace detected.
|
|
lint:
app/models/category.rb#L4
Rails/HasManyOrHasOneDependent: Specify a `:dependent` option.
|
|
lint:
app/models/category.rb#L5
Layout/TrailingWhitespace: Trailing whitespace detected.
|
|
lint:
app/models/category.rb#L33
Rails/SkipsModelValidations: Avoid using `update_all` because it skips validations.
|
|
lint:
app/services/item_updater.rb#L16
Lint/UselessAssignment: Useless assignment to variable - `e`.
|
|
lint:
app/services/item_updater.rb#L63
Layout/TrailingWhitespace: Trailing whitespace detected.
|
|
lint:
app/services/item_updater.rb#L68
Metrics/AbcSize: Assignment Branch Condition size for update_fixed_open is too high. [<7, 17, 5> 19.05/17]
|
|
lint
Process completed with exit code 1.
|
|
scan_ruby
Cache not found for keys: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.4.1-wd-/home/runner/work/clever-calculator/clever-calculator-with--without--only--Gemfile.lock-0d7664887df4c9ee2433d028b67a5a4ee049bd78309ededbb8291ad39e4dd8b8, setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.4.1-wd-/home/runner/work/clever-calculator/clever-calculator-with--without--only--Gemfile.lock-
|
|
lint
Cache not found for keys: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.4.1-wd-/home/runner/work/clever-calculator/clever-calculator-with--without--only--Gemfile.lock-0d7664887df4c9ee2433d028b67a5a4ee049bd78309ededbb8291ad39e4dd8b8, setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.4.1-wd-/home/runner/work/clever-calculator/clever-calculator-with--without--only--Gemfile.lock-
|
|
lint
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|