watson-ruby icon indicating copy to clipboard operation
watson-ruby copied to clipboard

Keep *.swp in there? [lib/watson/config.rb]

Open nhmood opened this issue 11 years ago • 0 comments

filename : lib/watson/config.rb line # : 229 tag : review md5 : a5997989bb0082344f36df9e86a80676

        # [review] - Keep *.swp in there?
        # [todo] - Add conditional to @rc_file such that if passed by -f we accept it
        # [todo] - Add current file (watson) to avoid accidentally printing app tags 
        @ignore_list.push(".")
        @ignore_list.push("..")
        @ignore_list.push("*.swp")
        @ignore_list.push(@rc_file)
        @ignore_list.push(@tmp_file)
            # Open and read rc
        # [review] - Not sure if explicit file close is required here
        _rc = File.open(@rc_file, 'r').read

        debug_print "\n\n"  

        # Create temp section var to keep track of what we are populating in config
        _section = ""

nhmood avatar Nov 21 '13 16:11 nhmood