Corrected with rubocop cop 'Style/SpaceAfterNot'.

This commit is contained in:
Thorsten Eckel 2015-05-01 14:33:04 +02:00
parent 71700779df
commit 68a6b850a5

View file

@ -47,7 +47,7 @@ class Package < ApplicationModel
# install all packages located under auto_install/*.zpm # install all packages located under auto_install/*.zpm
def self.auto_install def self.auto_install
path = @@root + '/auto_install/' path = @@root + '/auto_install/'
return if ! File.exist?( path ) return if !File.exist?( path )
data = [] data = []
Dir.foreach( path ) do |entry| Dir.foreach( path ) do |entry|
if entry =~ /\.zpm/ && entry !~ /^\./ if entry =~ /\.zpm/ && entry !~ /^\./