Resolved many Rubocop warnings

This commit is contained in:
Maruno17
2020-09-06 17:31:12 +01:00
parent 6c4670eaa3
commit 681a8331ab
137 changed files with 921 additions and 1200 deletions

View File

@@ -551,15 +551,9 @@ module FontInstaller
success = []
# Check if all fonts already exist
filesExist = true
fontsExist = true
dest = self.getFontFolder
for i in 0...Names.size
if !safeExists?(dest + Filenames[i])
filesExist = false
end
if !Font.exist?(Names[i])
fontsExist = false
end
filesExist = false if !safeExists?(dest + Filenames[i])
end
return if filesExist
# Check if all source fonts exist