We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d69011 + d1d420e commit 376e141Copy full SHA for 376e141
lib/thor/actions/inject_into_file.rb
@@ -21,7 +21,7 @@ module Actions
21
# gems.split(" ").map{ |gem| " config.gem :#{gem}" }.join("\n")
22
# end
23
#
24
- WARNINGS = { unchanged_no_flag: 'File unchanged! The supplied flag value not found!' }
+ WARNINGS = { unchanged_no_flag: 'File unchanged! Either the supplied flag value not found or the content has already been inserted!' }
25
26
def insert_into_file(destination, *args, &block)
27
data = block_given? ? block : args.shift
0 commit comments