Skip to content

Commit e5aab5e

Browse files
committed
download target file instead of tarball
1 parent a78d8b0 commit e5aab5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pipeline/npm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Npm {
5959
fs.mkdirpSync(packageDirectory);
6060
self.logger.info("downloading " + packageName + " " + version + "....");
6161

62-
download(tarball, packageDirectory + "/" + packageName + ".js", function() {
62+
download(fileLocation, packageDirectory + "/" + packageName + ".js", function() {
6363
o_fs.createReadStream(packageDirectory + "/" + packageName + ".js").pipe(
6464
tar.x({
6565
strip: 1,

0 commit comments

Comments
 (0)