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

Commit e3c637c

Browse files
committed
Replace use of #fail with #raise
1 parent 2188270 commit e3c637c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wpxf/wordpress/reflected_xss.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def initialize
1717
# @return [Boolean] true if successful.
1818
def run
1919
unless respond_to? 'url_with_xss'
20-
fail 'Required method "url_with_xss" has not been implemented'
20+
raise 'Required method "url_with_xss" has not been implemented'
2121
end
2222

2323
return false unless super

0 commit comments

Comments
 (0)