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

Commit 358102a

Browse files
committed
Split concatenated conditions into two separate lines
1 parent 3879832 commit 358102a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/wpxf/wordpress/file_download.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ def before_download
8787
def run
8888
validate_implementation
8989

90-
return false unless super || !before_download
90+
return false unless super
91+
return false unless before_download
9192

9293
res = request_file
9394
return false unless validate_result(res) && validate_content(res.body)

0 commit comments

Comments
 (0)