rocketwheel-command 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|
|