Skip to content

Commit 736dce9

Browse files
committed
Check for dir before removing
1 parent 5b45d19 commit 736dce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'nanoc3/tasks'
22

33
task :publish => [:clean] do
4-
FileUtils.rm_r('output')
4+
FileUtils.rm_r('output') if File.exist?('output')
55

66
sh "nanoc compile"
77

0 commit comments

Comments
 (0)