Skip to content

Commit d1fa2aa

Browse files
committed
Update tips
1 parent cc8af45 commit d1fa2aa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎lib/pbind/command/mock.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def add_mock_json
8282
json_path=File.join(client_dir,json_name)
8383
json_relative_path="PBLocalhost/#{@client}/#{json_name}"
8484
if !File.exists?(json_path)
85-
UI.section("Creating file `#{json_relative_path}`")do
85+
UI.section("Creating file `#{json_name}`")do
8686
json_file=File.new(json_path,'w')
8787
json_file.print("{\n\n}")
8888
changed=true
@@ -114,7 +114,7 @@ def add_mock_json
114114
end
115115

116116
# Save
117-
UI.section("Adding reference `#{json_relative_path}`")do
117+
UI.section("Adding reference `#{json_name}`")do
118118
project.save
119119
@changed=true
120120
end

‎lib/pbind/user_interface.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module UI
66
class << self
77

88
defsection(title)
9-
message="%-64s" % "#{title}..."
9+
message="%-64s" % title
1010
printmessage.yellow
1111

1212
yieldifblock_given?

0 commit comments

Comments
(0)