Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 86a742b

Browse files
committed
Merge branch 'refactor/file_structure_tidy_up' into development
2 parents 75a402d + 7450932 commit 86a742b

File tree

316 files changed

+34
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+34
-34
lines changed

lib/cli/context.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ def load_module(path)
1919
end
2020

2121
def reload
22-
if @module_path =~ /^exploit\//i
23-
load("#{@module_path.sub('exploit/', 'exploits/')}.rb")
24-
else
25-
load("#{@module_path}.rb")
26-
end
27-
22+
load("#{@module_path}.rb")
2823
load_module(@module_path)
2924
end
3025

0 commit comments

Comments
 (0)