flant/superhosting

View on GitHub
bootstrap/etc/sx/models/test/container/config.rb

Summary

Maintainability
A
0 mins
Test Coverage

Use 0o for octal literals.
Open

mkdir "#{container.web.path}/logs/supervisor", mode: 0777

This cop checks for octal, hex, binary and decimal literals using uppercase prefixes and corrects them to lowercase prefix or no prefix (in case of decimals). eg. for octal use 0o instead of 0 or 0O.

Can be configured to use 0 only for octal literals using EnforcedOctalStyle => zero_only

There are no issues that match your filters.

Category
Status