Skip to content

Commit c848379

Browse files
committed
simply use refname in the prompt?
1 parent e5a5d35 commit c848379

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/msf/core/module/full_name.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ def fullname
2525
end
2626

2727
def promptname
28-
elements = refname.split('/')
29-
"#{elements[-2]}/#{elements[-1]}"
28+
refname
3029
end
3130

3231
def shortname

0 commit comments

Comments
 (0)