ManageIQ/manageiq

View on GitHub
tools/copy_reports_structure.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

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

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