Skip to content

chore(shard.lock): bump deps #114

chore(shard.lock): bump deps

chore(shard.lock): bump deps #114

GitHub Actions / Ameba failed Dec 10, 2024 in 1s

Crystal Ameba Results

Total files checked: 19
Issues found: 10

Ameba Version: 1.6.4
Crystal Version: 1.10.0

Annotations

Check notice on line 19 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> parser.on("--www=CONTENT_DIR", "Specifies the content directory") { |d| content_directory = d }
                                                                       ^

Check notice on line 20 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> parser.on("--update-crontab=CRON", "Specifies the update crontab") { |c| update_crontab = c }
                                                                        ^

Check notice on line 21 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> parser.on("--git-username=USERNAME", "Specifies the git username") { |u| git_username = u }
                                                                        ^

Check notice on line 22 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> parser.on("--git-password=PASSWORD", "Specifies the git password") { |p| git_password = p }
                                                                        ^

Check notice on line 25 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> parser.on("-b HOST", "--bind=HOST", "Specifies the server host") { |h| host = h }
                                                                      ^

Check notice on line 26 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> parser.on("-p PORT", "--port=PORT", "Specifies the server port") { |p| port = p.to_i }
                                                                      ^

Check notice on line 85 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> content_directory.try { |cd| settings.content_directory = cd }
                           ^

Check notice on line 86 in src/app.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Naming/BlockParameterName

Disallowed block parameter name found
Raw output
> update_crontab.try { |uc| settings.update_crontab = uc }
                        ^

Check warning on line 17 in src/placeos-frontend-loader/loader.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `content_directory`
Raw output
> setting content_directory : String = WWW
          ^

Check warning on line 18 in src/placeos-frontend-loader/loader.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `update_crontab`
Raw output
> setting update_crontab : String = CRON
          ^