# File lib/fastcst/command/env.rb, line 26 26: def validate 27: # check that the regex is good 28: begin 29: @regex = Regexp.new(@regex) if @regex 30: rescue 31: UI.failure :input, "#$!" 32: @valid = false 33: end 34: 35: valid? @repo_dir, "Could not find a .fastcst directory" 36: 37: return @valid 38: end