ManageIQ/manageiq

View on GitHub
tools/reset_admin_password.rb

Summary

Maintainability
A
0 mins
Test Coverage

Script file reset_admin_password.rb doesn't have execute permission.
Open

#!/usr/bin/env ruby
Severity: Minor
Found in tools/reset_admin_password.rb by rubocop

This cop checks if a file which has a shebang line as its first line is granted execute permission.

Example:

# bad

# A file which has a shebang line as its first line is not
# granted execute permission.

#!/usr/bin/env ruby
puts 'hello, world'

# good

# A file which has a shebang line as its first line is
# granted execute permission.

#!/usr/bin/env ruby
puts 'hello, world'

# good

# A file which has not a shebang line as its first line is not
# granted execute permission.

puts 'hello, world'

There are no issues that match your filters.

Category
Status