Commits

Julian Mann committed af491e3

error results displayed before help

Comments (0)

Files changed (1)

     def list(*files)
       s =  Sequin::Listing.new(files)
       result = s.format( options)
+      puts result      
       help :list unless s.response[:errors].empty?
-      puts result
       result # return result for cucumber test
     end
 
     def membership(*args)
       s = Sequin::Membership.new(args)
       result = s.format( options)
-      
-      #result = Sequin::Render::ListingBash.format(response, options)
-
-      help :membership unless s.response[:errors].empty?
-
       puts result
-      result
+      help :membership unless s.response[:errors].empty?
+      result # return result for cucumber test
     end