Skip to content

Commit eb0f0fe

Browse files
author
HD Moore
committed
Correct an extra parenthesis
1 parent 8cdb76d commit eb0f0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/modules/loader/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def module_path?(path)
430430

431431
extension = File.extname(path)
432432

433-
unless (path[0,1] == ".") or
433+
unless (path[0,1] == "." or
434434
extension != MODULE_EXTENSION or
435435
path =~ UNIT_TEST_REGEX)
436436
module_path = true

0 commit comments

Comments
 (0)