mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 13:48:49 +00:00
download target file instead of tarball
This commit is contained in:
parent
a78d8b00bf
commit
e5aab5e2ea
@ -59,7 +59,7 @@ class Npm {
|
||||
fs.mkdirpSync(packageDirectory);
|
||||
self.logger.info("downloading " + packageName + " " + version + "....");
|
||||
|
||||
download(tarball, packageDirectory + "/" + packageName + ".js", function() {
|
||||
download(fileLocation, packageDirectory + "/" + packageName + ".js", function() {
|
||||
o_fs.createReadStream(packageDirectory + "/" + packageName + ".js").pipe(
|
||||
tar.x({
|
||||
strip: 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user