Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should the tag structure be self contained in the hash [lib/watson/printer.rb] #79

Open
nhmood opened this issue Nov 21, 2013 · 0 comments

Comments

@nhmood
Copy link
Owner

nhmood commented Nov 21, 2013

filename : lib/watson/printer.rb
line # : 240
tag : review
md5 : 343388179dd367286519f7c4118d6200

        # [review] - Should the tag structure be self contained in the hash
        #            Or is it ok to reference @config to figure out the tags
        @config.tag_list.each do | _tag |
            debug_print "Checking for #{ _tag }\n"
                # [review] - Better way to ignore tags through structure (hash) data
            # Maybe have individual has_issues for each one?
            if entry[_tag].size.zero?
                debug_print "#{ _tag } has no issues, skipping\n"
                cprint "\n"
                next
            end

            debug_print "#{ _tag } has issues in it, print!\n"
            print_status "#{ _tag }", BLUE
            cprint "\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant