Skip to content

Commit f59d245

Browse files
committed
oh
1 parent f496730 commit f59d245

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

.pryrc

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
#require 'awesome_print' # Removing because bad colors and can't configure
22
#AwesomePrint.pry!
33

4-
require 'colorize'
4+
begin
5+
require 'colorize'
6+
puts "#{'require'.light_red} #{"'colorize'".cyan}"
7+
rescue LoadError
8+
puts "Warning: colorize gem not found"
9+
end
10+
11+
begin
12+
require 'factory_girl_console'
13+
puts "#{'require'.light_red} #{"'factory_girl_console'".cyan}"
14+
rescue LoadError
15+
puts "Warning: factory_girl_console gem not found"
16+
end
517

618
def colorized_stack_trace( stack, base_dir )
719
separator = File::SEPARATOR
@@ -49,7 +61,7 @@ _max_display_string_length = 50
4961
def pbcopy(input)
5062
str = input.to_s
5163
IO.popen('pbcopy', 'w') { |f| f << str }
52-
truncaed = str.length > _max_display_string_length ? str[0.._max_display_string_length] + '...' : str
64+
truncated = str.length > _max_display_string_length ? str[0.._max_display_string_length] + '...' : str
5365
puts "Copied \"#{truncated}\" to system clipboard!"
5466
end
5567

code/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@
6363

6464
"indentRainbow.error_color": "",
6565

66-
"editor.renderWhitespace": "none",
66+
"editor.renderWhitespace": "none"
6767
}

0 commit comments

Comments
 (0)