Skip to content

Commit

Permalink
Deps: Use the right source path when copying .min.css files
Browse files Browse the repository at this point in the history
Thanks to therealresonix for the catch!
  • Loading branch information
SamantazFox committed Jan 21, 2023
1 parent 0e68756 commit f47d4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fetch-player-dependencies.cr
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ dependencies_to_install.each do |dep|
dep = "videojs.markers" if dep == "videojs-markers"

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`
else
`mv #{download_path}/package/dist/#{dep}.css #{dest_path}/#{dep}.css`
Expand Down

0 comments on commit f47d4f8

Please sign in to comment.