lib/stan/deployer.rb in stan-0.1.0 vs lib/stan/deployer.rb in stan-0.2.0
- old
+ new
@@ -6,10 +6,11 @@
Typhoeus.post(
"#{url}/upload",
body: {
name: name,
file: File.open(source,"r")
- }
+ },
+ followlocation: true
)
FileUtils.rm(source) unless keep
end
end
end