Fix minified silvermine-...quality* fetching

This commit is contained in:
syeopite 2021-09-12 00:09:26 -07:00
parent 62c1991b88
commit b6670a7e3d
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ dependencies_to_install.each do |dep|
end
# Would use File.rename but for some reason it just doesn't work here.
if minified && File.exists?("#{download_path}/package/dist/#{dep}.min.js")
if minified && File.exists?("#{download_path}/package/dist/#{js_path}#{dep}.min.js")
`mv #{download_path}/package/dist/#{js_path}#{dep}.min.js #{dest_path}/#{dep}.js`
else
`mv #{download_path}/package/dist/#{js_path}#{dep}.js #{dest_path}/#{dep}.js`