rocketwheel-command 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module Rocketwheel::Command::CLI
|
|
16
16
|
:desc => 'Directory where the encoded videos will be stored.',
|
17
17
|
:default => 'build/videos'
|
18
18
|
def encode
|
19
|
-
files = Dir["#{File.join(File.expand_path('./'), source)}/**/**"]
|
19
|
+
files = Dir["#{File.join(File.expand_path('./'), source)}/**/**"].select { |f| File.file?(f) }
|
20
20
|
invoke Task, [files, manifest, File.join(File.expand_path('./'), destination)]
|
21
21
|
end
|
22
22
|
|