feat: [PPT-2270] 1-click setup for outlook plugin #420
Crystal Ameba Results
Total files checked: 113
Issues found: 7
Ameba Version: 1.6.4
Crystal Version: 1.14.0
Annotations
Check warning on line 404 in spec/controllers/uploads_spec.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `authority`
Raw output
> authority = Model::Authority.find_by_domain("localhost").not_nil!
^
Check warning on line 426 in spec/controllers/uploads_spec.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `authority`
Raw output
> authority = Model::Authority.find_by_domain("localhost").not_nil!
^
Check warning on line 122 in src/placeos-rest-api/utilities/ms-token-exchange.cr
github-actions / Ameba
Lint/ShadowingOuterLocalVar
Shadowing outer local variable `form`
Raw output
> form = URI::Params.build do |form|
^
Check warning on line 193 in src/placeos-rest-api/utilities/ms-token-exchange.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `info`
Raw output
> info = token_info || peek_token_info(token)
^
Check notice on line 29 in src/placeos-rest-api/utilities/ms-token-exchange.cr
github-actions / Ameba
Naming/PredicateName
Favour method name 'ms_token?' over 'is_ms_token?'
Raw output
> def is_ms_token? : Bool
^
Check notice on line 166 in src/placeos-rest-api/utilities/ms-token-exchange.cr
github-actions / Ameba
Style/RedundantBegin
Redundant `begin` block detected
Raw output
> begin
^
Check notice on line 177 in src/placeos-rest-api/utilities/ms-token-exchange.cr
github-actions / Ameba
Style/RedundantBegin
Redundant `begin` block detected
Raw output
> begin
^