Skip to content
Browse files

Don't copy the images folder if it doesn't exist. Fixes #27

  • Loading branch information...
1 parent 419656b commit 2a62dc045a0653e97ae691666a92f6052067102e Andy Adams committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/forge/builder.rb
2  lib/forge/builder.rb
@@ -167,7 +167,7 @@ def build_assets
# Copy the images directory over
- FileUtils.cp_r(File.join(@assets_path, 'images'), @project.build_path)
+ FileUtils.cp_r(File.join(@assets_path, 'images'), @project.build_path) if File.exists?(File.join(@assets_path, 'images'))
# Check for screenshot and move it into main build directory
Dir.glob(File.join(@project.build_path, 'images', '*')).each do |filename|

0 comments on commit 2a62dc0

Please sign in to comment.
Something went wrong with that request. Please try again.