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

Commit 247aafa

Browse files
committed
Fix issue preventing hidden files updating
1 parent fbc1b70 commit 247aafa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

github_updater.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def download_and_apply_update(zip_url)
4545
end
4646
end
4747

48-
Dir.glob(File.join(tmp, 'rastating-wordpress-exploit-framework*/*')) do |f|
48+
Dir.glob(File.join(tmp, 'rastating-wordpress-exploit-framework*/*'), File::FNM_DOTMATCH) do |f|
49+
next if f =~ /\.$/
4950
FileUtils.cp_r(f, Wpxf.app_path)
5051
end
5152

0 commit comments

Comments
 (0)