kosmtik-fetch-remote
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -49,3 +49,2 @@ var fs = require('fs'), | ||
} | ||
var file = fs.createWriteStream(dest); | ||
var onDownloaded = function () { | ||
@@ -69,2 +68,3 @@ fs.createReadStream(dest) | ||
http.get(uri, function onResponse (resp) { | ||
var file = fs.createWriteStream(dest); | ||
resp.pipe(file); | ||
@@ -71,0 +71,0 @@ file.on('finish', function onFinish() { |
{ | ||
"name": "kosmtik-fetch-remote", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Kosmtik plugin to fetch remote layer data", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3693