From 68a6b850a53fb0e2f31a20b67bda7a2a80e91aeb Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 1 May 2015 14:33:04 +0200 Subject: [PATCH] Corrected with rubocop cop 'Style/SpaceAfterNot'. --- app/models/package.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/package.rb b/app/models/package.rb index e1eea6e2c..a54ff89c3 100644 --- a/app/models/package.rb +++ b/app/models/package.rb @@ -47,7 +47,7 @@ class Package < ApplicationModel # install all packages located under auto_install/*.zpm def self.auto_install path = @@root + '/auto_install/' - return if ! File.exist?( path ) + return if !File.exist?( path ) data = [] Dir.foreach( path ) do |entry| if entry =~ /\.zpm/ && entry !~ /^\./