mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 14:26:01 +00:00
Added decent spacing to all scripts thanks to Rubocop
This commit is contained in:
@@ -588,7 +588,7 @@ module PluginManager
|
||||
optional = false
|
||||
# clean the name to a simple string
|
||||
if dname.is_a?(Array)
|
||||
optional = [:optional,:optional_exact].include?(dname[0])
|
||||
optional = [:optional, :optional_exact].include?(dname[0])
|
||||
dname = dname[dname.length - 2]
|
||||
end
|
||||
# catch missing dependency
|
||||
@@ -710,7 +710,7 @@ module PluginManager
|
||||
# get rid of tabs
|
||||
code.gsub!("\t", " ")
|
||||
# construct filename
|
||||
sname = scr[0].gsub("\\","/").split("/")[-1]
|
||||
sname = scr[0].gsub("\\", "/").split("/")[-1]
|
||||
fname = "[#{name}] #{sname}"
|
||||
# try to run the code
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user