[neko] added
This commit is contained in:
@@ -101,7 +101,7 @@ class Sdk {
|
||||
} else if (this.link.endsWith('tar.gz')) {
|
||||
stream = stream.pipe(tar.x({C: this.path, strip: strip}));
|
||||
} else {
|
||||
stream = stream.pipe(fs.createWriteStream(this.path));
|
||||
stream = stream.pipe(fs.createWriteStream(path.join(this.path, this.link.split('/').pop())));
|
||||
}
|
||||
return ps.wait(stream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user