lib/yac.rb in yac-1.1.2 vs lib/yac.rb in yac-1.1.3
- old
+ new
@@ -165,10 +165,10 @@
end
end
def rm_single(args)
file = search_name(args,"Remove")
- if confirm("You Are Removing #{file}.")
+ if file && confirm("You Are Removing #{file}.")
@working_git.rm(file)
end
end
def edit_single(args)