mirror of
https://github.com/ViViDboarder/abuse-the-force.git
synced 2024-11-24 18:06:37 +00:00
Clean up and Fix deploy list with Meta xml
Deploy list was breaking on any included -meta.xml files. Now they are excluded
This commit is contained in:
parent
f5c9a04f2e
commit
af0538de62
@ -269,10 +269,6 @@ module AbuseTheForce
|
||||
AbuseTheForce.pute("List not found", true)
|
||||
end
|
||||
|
||||
unless File.file? "/Users/ifij/workspace/salesforce-apex/build.xml"
|
||||
puts "NO BUILD"
|
||||
end
|
||||
|
||||
# Clean out the temp directory
|
||||
AbuseTheForce.clean_temp
|
||||
|
||||
@ -287,6 +283,11 @@ module AbuseTheForce
|
||||
# Check that file exists
|
||||
if File.file? fpath
|
||||
|
||||
# If this line is just a meta file, skip it
|
||||
if fpath.ends_with? 'meta.xml'
|
||||
next
|
||||
end
|
||||
|
||||
# Did the file copy?
|
||||
file_copied = AbuseTheForce.copy_temp_file fpath
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user