Deps: Use the right source path when copying .min.css files

Thanks to therealresonix for the catch!
pull/3588/head
Samantaz Fox 2 years ago
parent 0e68756758
commit f47d4f88cc
No known key found for this signature in database
GPG Key ID: F42821059186176E

@ -129,7 +129,7 @@ dependencies_to_install.each do |dep|
dep = "videojs.markers" if dep == "videojs-markers" dep = "videojs.markers" if dep == "videojs-markers"
if File.exists?("#{download_path}/package/dist/#{dep}.css") if File.exists?("#{download_path}/package/dist/#{dep}.css")
if minified && File.exists?("#{tmp_dir_path}/#{dep}/package/dist/#{dep}.min.css") if minified && File.exists?("#{download_path}/package/dist/#{dep}.min.css")
`mv #{download_path}/package/dist/#{dep}.min.css #{dest_path}/#{dep}.css` `mv #{download_path}/package/dist/#{dep}.min.css #{dest_path}/#{dep}.css`
else else
`mv #{download_path}/package/dist/#{dep}.css #{dest_path}/#{dep}.css` `mv #{download_path}/package/dist/#{dep}.css #{dest_path}/#{dep}.css`

Loading…
Cancel
Save