Corrected with rubocop cop 'Style/SpaceAfterNot'.
This commit is contained in:
parent
71700779df
commit
68a6b850a5
1 changed files with 1 additions and 1 deletions
|
@ -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 !~ /^\./
|
||||||
|
|
Loading…
Reference in a new issue